szehon-ho commented on code in PR #51007: URL: https://github.com/apache/spark/pull/51007#discussion_r2110357121
########## sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala: ########## @@ -3392,4 +3397,180 @@ class HiveDDLSuite ) } } + + test("SPARK-52272: V2SessionCatalog does not alter schema on Hive Catalog") { + val externalCatalog = new CustomHiveCatalog(spark.sessionState.catalog.externalCatalog) Review Comment: yea sorry it was late :), i rewrote it using mockito. I needed something to check which methods are called. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org