kr11 commented on a change in pull request #2024:
URL: https://github.com/apache/iotdb/pull/2024#discussion_r523926967



##########
File path: antlr/src/main/antlr4/org/apache/iotdb/db/qp/strategy/SqlBase.g4
##########
@@ -40,8 +40,9 @@ statement
     | DELETE STORAGE GROUP prefixPath (COMMA prefixPath)* #deleteStorageGroup
     | SHOW METADATA #showMetadata // not support yet
     | DESCRIBE prefixPath #describePath // not support yet
-    | CREATE INDEX ON fullPath USING function=ID indexWithClause? whereClause? 
#createIndex //not support yet
-    | DROP INDEX function=ID ON fullPath #dropIndex //not support yet
+    | CREATE INDEX ON prefixPath whereClause? indexWithClause #createIndex 
//not support yet

Review comment:
       > If you support this SQL, you should delete `//not support yet`
   
   In the current version, the SQL about the index query will throw an 
"UnSupportedOperation" exception. Shall we remove "not support yet" now, or 
defer to delete it until the function is fully supported? 




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


Reply via email to