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
it("provides a good error message for wide columns") {
valdf= spark.createDF(
List(
("this is a really really really really long sentence", "this is a really really really really long sentence and the diff is hidden"),
("animation", "animation"),
("bill", "bill")
), List(
("sentence1", StringType, true),
("sentence2", StringType, true)
)
)
assertColumnEquality(df, "sentence1", "sentence2")
}
It'll output this error message:
assertColumnEquality should at least provide an option so the output doesn't truncate. Something like assertColumnEquality(df, "sentence1", "sentence2", truncate=false).
The text was updated successfully, but these errors were encountered:
Here's some example code:
It'll output this error message:
assertColumnEquality
should at least provide an option so the output doesn't truncate. Something likeassertColumnEquality(df, "sentence1", "sentence2", truncate=false)
.The text was updated successfully, but these errors were encountered: