hvanhovell commented on code in PR #47839:
URL: https://github.com/apache/spark/pull/47839#discussion_r1726149785
##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/ColumnTestSuite.scala:
##########
@@ -170,11 +170,11 @@ class ColumnTestSuite extends ConnectFunSuite {
val x = fn.col("a") + fn.col("b")
val explain1 = captureStdOut(x.explain(false))
val explain2 = captureStdOut(x.explain(true))
- assert(explain1 == explain2)
- val expectedFragments = Seq("unresolved_function", "function_name: \"+\"",
"arguments")
- expectedFragments.foreach { fragment =>
- assert(explain1.contains(fragment))
- }
+ assert(explain1 != explain2)
+ assert(explain1.strip() == "+(a, b)")
Review Comment:
The textual representation of the plan is different now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]