ulysses-you commented on code in PR #37831:
URL: https://github.com/apache/spark/pull/37831#discussion_r966612740
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala:
##########
@@ -1539,7 +1539,7 @@ abstract class DDLSuite extends QueryTest with
DDLSuiteBase {
assert(table.location == makeQualifiedPath(dir.getAbsolutePath))
assert(spark.sql(s"SHOW PARTITIONS $tableName").count() == 0)
spark.sql(
- s"INSERT INTO TABLE $tableName PARTITION(c='c', b) SELECT *, 'b'
FROM t WHERE 1 = 0")
+ s"INSERT INTO TABLE $tableName PARTITION(c='c', b) SELECT *, a
FROM t WHERE 1 = 0")
Review Comment:
this test is used to validate partial static partition, so use a column
instead of literal to recover it.
--
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]