cloud-fan commented on a change in pull request #34148:
URL: https://github.com/apache/spark/pull/34148#discussion_r721877029
##########
File path:
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -244,6 +244,9 @@ statement
| SET .*?
#setConfiguration
| RESET configKey
#resetQuotedConfiguration
| RESET .*?
#resetConfiguration
+ | CREATE indexType=STRING? INDEX (IF NOT EXISTS)? identifier ON TABLE?
Review comment:
```suggestion
| CREATE indexType=identifier? INDEX (IF NOT EXISTS)? identifier ON
TABLE?
```
STRING only matches `'abc'`, but we want to support `CREATE bloom_filter
INDEX ...`
--
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]