huaxingao commented on code in PR #39564:
URL: https://github.com/apache/spark/pull/39564#discussion_r1070860368
##########
sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala:
##########
@@ -1963,4 +1977,9 @@ class JDBCSuite extends QueryTest with SharedSparkSession
{
}
}
}
+
+ test("SPARK-41990: Filter with composite name") {
+ val df = sql("SELECT * FROM composite_name WHERE `last name` = 'smith'")
Review Comment:
Right. Support for nested predicate pushdown is calculated by this
[method](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceUtils.scala#L108),
which returns false for JDBC V1.
--
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]