You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2023/02/16 06:30:06 UTC

[GitHub] [spark] dongjoon-hyun commented on a diff in pull request #38433: [SPARK-40943][SQL] Make `MSCK` keyword optional in `REPAIR TABLE` syntax

dongjoon-hyun commented on code in PR #38433:
URL: https://github.com/apache/spark/pull/38433#discussion_r1108062600


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/command/MsckRepairTableParserSuite.scala:
##########
@@ -31,6 +31,15 @@ class MsckRepairTableParserSuite extends AnalysisTest {
         enableDropPartitions = false))
   }
 
+  test("repair a table without MSCK keyword") {
+    comparePlans(
+      parsePlan("REPAIR TABLE a.b.c"),
+      RepairTable(
+        UnresolvedTable(Seq("a", "b", "c"), "MSCK REPAIR TABLE", None),

Review Comment:
   According to the agreement here, I'll merge @MaxGekk 's suggestion and backport to branch-3.4 for Apache Spark 3.4 release.



-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org