cloud-fan commented on a change in pull request #31229:
URL: https://github.com/apache/spark/pull/31229#discussion_r559973479
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/v2/AlterTableAddPartitionSuite.scala
##########
@@ -53,4 +53,19 @@ class AlterTableAddPartitionSuite
checkAnswer(sql(s"SELECT * FROM $t"), Row(0, "abc"))
}
}
+
+ test("SPARK-34149: refresh cache in partition adding") {
+ withNamespaceAndTable("ns", "tbl") { t =>
+ sql(s"CREATE TABLE $t (part int) $defaultUsing PARTITIONED BY (part)")
Review comment:
does this bug only exist in fully partitioned tables?
----------------------------------------------------------------
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]