Approximate comparison between two DataFrames.
Approximate comparison between two DataFrames. If the DataFrames match the instances of Double, Float, or Timestamp, 'approx' will be used to compare an approximate equality of the two DFs.
DataFrame to compare to
double for the approximate comparison. If the absolute value of the difference between two values is less than approx, then the two values are considered equal.
flag to decide if nullable is ignored or not
Display the schema of the DataFrame as a case class.
Display the schema of the DataFrame as a case class. Example : val df = Seq(1, 2, 3).toDF("id") df.showCaseClass("Id")
result : case class Id ( id:Int )
name of the case class