You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2023/07/04 14:56:46 UTC

[iotdb] branch antlr-1.2 created (now bae3b4b316f)

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

jackietien pushed a change to branch antlr-1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at bae3b4b316f [To rel/1.2] Add AND & CONTAINS & NOT & NULL & OR to IdentifierParser

This branch includes the following new commits:

     new bae3b4b316f [To rel/1.2] Add AND & CONTAINS & NOT & NULL & OR to IdentifierParser

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: [To rel/1.2] Add AND & CONTAINS & NOT & NULL & OR to IdentifierParser

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch antlr-1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit bae3b4b316fa1b3680658a89ef0e46af5e00ae08
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Jul 4 22:56:12 2023 +0800

    [To rel/1.2] Add AND & CONTAINS & NOT & NULL & OR to IdentifierParser
---
 antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4 b/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4
index a55ddb39919..0ef27af4177 100644
--- a/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4
+++ b/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4
@@ -39,6 +39,7 @@ keyWords
     | ALIGNED
     | ALL
     | ALTER
+    | ADD
     | ANY
     | APPEND
     | AS
@@ -59,6 +60,7 @@ keyWords
     | CONDITION
     | CONFIGNODES
     | CONFIGURATION
+    | CONTAINS
     | CONTINUOUS
     | COUNT
     | CONTAIN
@@ -123,11 +125,14 @@ keyWords
     | MODELS
     | NODES
     | NONE
+    | NOT
     | NOW
+    | NULL
     | OF
     | OFF
     | OFFSET
     | ON
+    | OR
     | ORDER
     | ONSUCCESS
     | PARTITION