You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/09/27 08:22:15 UTC
[GitHub] [spark] huleilei commented on a diff in pull request #38007: [SPARK-40566][SQL] Add showIndex function
huleilei commented on code in PR #38007:
URL: https://github.com/apache/spark/pull/38007#discussion_r980919285
##########
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4:
##########
@@ -216,6 +216,7 @@ statement
LEFT_PAREN columns=multipartIdentifierPropertyList RIGHT_PAREN
(OPTIONS options=propertyList)? #createIndex
| DROP INDEX (IF EXISTS)? identifier ON TABLE? multipartIdentifier #dropIndex
+ | SHOW INDEX ON TABLE? multipartIdentifier #showIndex
Review Comment:
OK. I think the `FROM` and `ON` should be supported:
`SHOW {INDEX | INDEXES}
{FROM | ON} tbl_name`.
--
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