maropu commented on a change in pull request #30625:
URL: https://github.com/apache/spark/pull/30625#discussion_r537509029
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -3718,6 +3718,20 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession with AdaptiveSpark
}
}
}
+
+ test("SPARK-33677: LikeSimplification should be skipped if pattern contains
any escapeChar") {
+ withTable("string_tbl") {
+ sql("CREATE TABLE string_tbl USING parquet SELECT 'm@ca' AS s")
Review comment:
nit: could you use a temporary table for better test performance?
----------------------------------------------------------------
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]