zzzzming95 commented on code in PR #41154:
URL: https://github.com/apache/spark/pull/41154#discussion_r1239560157
##########
sql/core/src/test/scala/org/apache/spark/sql/test/DataFrameReaderWriterSuite.scala:
##########
@@ -1275,4 +1275,27 @@ class DataFrameReaderWriterSuite extends QueryTest with
SharedSparkSession with
}
}
}
+
+ test("SPARK-43327: location exists when insertoverwrite fails") {
+ withSQLConf(SQLConf.ANSI_ENABLED.key -> "true") {
+ withTable("t", "t1") {
+ sql("create table t(c1 int) using parquet")
+ sql("create table t1(c2 long) using parquet")
+ sql("INSERT OVERWRITE TABLE t1 select 6000044164")
+
+ // spark.sql("CREATE TABLE IF NOT EXISTS t(amt1 int) using ORC")
Review Comment:
done
--
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]