You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to use the approximate equality assertion between 2 dataframes, but I get a exception saying that both dataframe doesn't have the same number of rows, which isn't true as you can see.
[info] com.github.mrpowers.spark.fast.tests.DatasetContentMismatch: Actual DataFrame Row Count: '61'
[info] Expected DataFrame Row Count: '61'
[info] at com.github.mrpowers.spark.fast.tests.DatasetComparer$class.throwIfDatasetsAreUnequal$1(DatasetComparer.scala:197)
[info] at com.github.mrpowers.spark.fast.tests.DatasetComparer$class.assertLargeDatasetEquality(DatasetComparer.scala:213)
[info] at com.test.TestSpec.assertLargeDatasetEquality(TestSpec.scala:14)
[info] at com.github.mrpowers.spark.fast.tests.DatasetComparer$class.assertApproximateDataFrameEquality(DatasetComparer.scala:240)
[info] at com.test.TestSpec.assertApproximateDataFrameEquality(TestSpec.scala:14)
Note : There is a lot of DoubleType in those dataframes. Is this related to #29 ?
The text was updated successfully, but these errors were encountered:
Hey @MrPowers ! Could you take a look when you have some time ?
I still don't get what's my issue on the assertApproximateDataFrameEquality function :/
Can you bump your project to spark-fast-tests v0.20.0 and see if you get a better error message?
The library was throwing a count mismatch message when it really should have been throwing a content mismatch message. The error message won't be the best... I'll try to make it better soon! Let me know if this helps!
Hello,
I'm trying to use the approximate equality assertion between 2 dataframes, but I get a exception saying that both dataframe doesn't have the same number of rows, which isn't true as you can see.
Note : There is a lot of
DoubleType
in those dataframes. Is this related to #29 ?The text was updated successfully, but these errors were encountered: