HyukjinKwon commented on a change in pull request #28383:
URL: https://github.com/apache/spark/pull/28383#discussion_r418417828
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/OptimizeMetadataOnlyQuerySuite.scala
##########
@@ -150,4 +150,30 @@ class OptimizeMetadataOnlyQuerySuite extends QueryTest
with SharedSparkSession {
}
}
}
+
+ test("SPARK-31590 The filter used by Metadata-only queries should not have
Unevaluable") {
+ withTable("test_tbl") {
+ withSQLConf(OPTIMIZER_METADATA_ONLY.key -> "true") {
+ sql("CREATE TABLE test_tbl (a INT,d STRING,h STRING) USING PARQUET
PARTITIONED BY (d ,h)")
Review comment:
Can we reuse `testMetadataOnly`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]