yihua commented on code in PR #9895:
URL: https://github.com/apache/hudi/pull/9895#discussion_r1372696612


##########
hudi-spark-datasource/hudi-spark3.3.x/src/main/antlr4/org/apache/hudi/spark/sql/parser/HoodieSqlBase.g4:
##########
@@ -29,5 +29,12 @@ statement
     | createTableHeader ('(' colTypeList ')')? tableProvider?
         createTableClauses
         (AS? query)?                                                   
#createTable
+    | CREATE INDEX (IF NOT EXISTS)? identifier ON TABLE?

Review Comment:
   Got it.  @codope is working on functional indexes in Hudi and may extend the 
grammar here.  So I'm thinking if it's not too hard to put the grammar in a 
common place, we should do that.



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

Reply via email to