cloud-fan commented on code in PR #45846:
URL: https://github.com/apache/spark/pull/45846#discussion_r1549619803
##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/ClientE2ETestSuite.scala:
##########
@@ -938,11 +938,11 @@ class ClientE2ETestSuite extends RemoteSparkSession with
SQLHelper with PrivateM
}
assert(e3.getMessage.contains("AMBIGUOUS_COLUMN_REFERENCE"))
- val e4 = intercept[AnalysisException] {
- // df1("i") is ambiguous as df1 appears in both join sides (df1_filter
contains df1).
- df1.join(df1_filter, df1("i") === 1).collect()
- }
- assert(e4.getMessage.contains("AMBIGUOUS_COLUMN_REFERENCE"))
+ // df1.join(df1_filter, df1("i") === 1) fails in classic spark due to:
+ // org.apache.spark.sql.AnalysisException: Column i#24 are ambiguous
+ assert(
Review Comment:
shall we use `checkSameResult`?
--
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]