You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/12/27 08:08:14 UTC

[GitHub] [incubator-doris] kangpinghuang commented on a change in pull request #2573: implements create drop show index syntax for bitmap index [#2487]

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org