You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ge...@apache.org on 2020/12/05 02:43:25 UTC
[iotdb] 06/09: fix bugs
This is an automated email from the ASF dual-hosted git repository.
geniuspig pushed a commit to branch change_listener_to_visitor_0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit d1d61eb1d485c5fde88ffaefa07fe9d03a9a83c0
Author: Boris <96...@qq.com>
AuthorDate: Mon Nov 16 15:39:05 2020 +0800
fix bugs
---
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 29cccbe..4ff3c48 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
@@ -157,11 +157,11 @@ alterClause
| DROP ID (COMMA ID)*
| ADD TAGS property (COMMA property)*
| ADD ATTRIBUTES property (COMMA property)*
- | UPSERT aliasClause tagClause attributeClause?
+ | UPSERT aliasClause? tagClause? attributeClause?
;
aliasClause
- : (ALIAS OPERATOR_EQ ID)?
+ : ALIAS OPERATOR_EQ ID
;
attributeClauses