turboFei commented on a change in pull request #24685: [SPARK-27814] The cast 
operation for partitioned column may push down uncorrect filter, which  is 
fatal.
URL: https://github.com/apache/spark/pull/24685#discussion_r286994974
 
 

 ##########
 File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveSparkSubmitSuite.scala
 ##########
 @@ -838,3 +838,19 @@ object SPARK_18989_DESC_TABLE {
     }
   }
 }
+
+object SPARK_27814 {
+  def main(args: Array[String]): Unit = {
+    val spark = SparkSession.builder().enableHiveSupport().getOrCreate()
+    try {
+      spark.sql("DROP TABLE IF EXISTS t1")
 
 Review comment:
   thanks. I will try.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to