sunchao commented on a change in pull request #34148:
URL: https://github.com/apache/spark/pull/34148#discussion_r731257858



##########
File path: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -247,6 +247,10 @@ statement
     | SET .*?                                                          
#setConfiguration
     | RESET configKey                                                  
#resetQuotedConfiguration
     | RESET .*?                                                        
#resetConfiguration
+    | CREATE INDEX (IF NOT EXISTS)? identifier ON TABLE?

Review comment:
       yeah I understand this is a keyword, just not sure the reason why we 
make it optional instead of always requiring or not requiring it.




-- 
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]

Reply via email to