cloud-fan commented on code in PR #52732:
URL: https://github.com/apache/spark/pull/52732#discussion_r2540768745
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalogSuite.scala:
##########
@@ -2026,4 +2026,69 @@ abstract class SessionCatalogSuite extends AnalysisTest
with Eventually {
assert(partitionSchema.fieldNames.toSeq == Seq("year", "month"))
assert(partitionSchema.fields.length == 2)
}
+
+ test("corrupted view metadata: mismatch between viewQueryColumnNames and
schema") {
+ withSQLConf("spark.sql.viewSchemaBinding.enabled" -> "true") {
+ val catalog = new SessionCatalog(newBasicCatalog())
Review Comment:
to be consistent with other test cases in this file, shall we use
`withBasicCatalog`?
--
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]