You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/01/15 09:13:50 UTC

[iotdb] 01/01: fix branket with number

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch branket_with_num
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 4dcd6b15ededb0e718f89922fdd2c8032099a9ca
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Jan 15 17:13:06 2021 +0800

    fix branket with number
---
 antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4 b/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4
index c902a67..cf786bf 100644
--- a/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4
+++ b/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4
@@ -521,7 +521,7 @@ nodeName
     | SCHEMA
     | TRACING
     | OFF
-    | (ID | OPERATOR_IN)? LS_BRACKET ID? RS_BRACKET? ID?
+    | (ID | OPERATOR_IN)? LS_BRACKET INT? ID? RS_BRACKET? ID?
     | compressor
     | GLOBAL
     | PARTITION
@@ -632,7 +632,7 @@ nodeNameWithoutStar
     | SCHEMA
     | TRACING
     | OFF
-    | (ID | OPERATOR_IN)? LS_BRACKET ID? RS_BRACKET? ID?
+    | (ID | OPERATOR_IN)? LS_BRACKET INT? ID? RS_BRACKET? ID?
     | compressor
     | GLOBAL
     | PARTITION