ulysses-you commented on code in PR #38875:
URL: https://github.com/apache/spark/pull/38875#discussion_r1090146633
##########
sql/core/src/test/scala/org/apache/spark/sql/sources/InsertSuite.scala:
##########
@@ -2315,6 +2315,34 @@ class InsertSuite extends DataSourceTest with
SharedSparkSession {
}
}
}
+
+ test("SPARK-40988: Test case for insert partition should verify value") {
+ val tableName = "partition_table"
+ withTable(tableName) {
+ sql(s"CREATE TABLE $tableName (id INT, name STRING) USING PARQUET
PARTITIONED BY (age INT)")
Review Comment:
`SOTRED AS` rather than `USING `, otherwise it's always a datasource table
--
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]