viirya commented on a change in pull request #34469: URL: https://github.com/apache/spark/pull/34469#discussion_r741544276
########## File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/DDLParserSuite.scala ########## @@ -2300,6 +2300,11 @@ class DDLParserSuite extends AnalysisTest { .zip(Seq(Map("k1" -> "v1"), Map("k2" -> "v2"))), Map("k3" -> "v3", "k4" -> "v4"))) } + test("DROP INDEX") { + parseCompare("DROP index i1 ON a.b.c", + DropIndex(UnresolvedTable(Seq("a", "b", "c"), "DROP INDEX", None), "i1", false)) + } Review comment: Can you add another "IF EXISTS" case? -- 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