kangpinghuang commented on a change in pull request #2573: implements create 
drop show index syntax for bitmap index [#2487]
URL: https://github.com/apache/incubator-doris/pull/2573#discussion_r361602484
 
 

 ##########
 File path: fe/src/main/cup/sql_parser.cup
 ##########
 @@ -1411,6 +1439,10 @@ drop_stmt ::=
     {:
         RESULT = new DropFileStmt(fileName, dbName, properties);
     :}
+    | KW_DROP KW_INDEX ident:indexName KW_ON table_name:tableName
+    {:
+        RESULT = new AlterTableStmt(tableName,  Lists.newArrayList(new 
DropIndexClause(indexName, tableName, false)));
 
 Review comment:
   ```suggestion
           RESULT = new AlterTableStmt(tableName, Lists.newArrayList(new 
DropIndexClause(indexName, tableName, false)));
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to