You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/12/20 03:29:24 UTC

[iotdb] branch lmh/fixCqTip1.0 created (now d6da282169)

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

hui pushed a change to branch lmh/fixCqTip1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at d6da282169 fix

This branch includes the following new commits:

     new d6da282169 fix

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: fix

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

hui pushed a commit to branch lmh/fixCqTip1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit d6da282169eee76ab76f9c5a32a39b55c3dd9bfc
Author: Minghui Liu <li...@foxmail.com>
AuthorDate: Tue Dec 20 11:28:52 2022 +0800

    fix
---
 .../src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
index 2b2ecca218..c4c3cf2fa2 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
@@ -858,7 +858,8 @@ public class ASTVisitor extends IoTDBSqlParserBaseVisitor<Statement> {
   private void parseResampleClause(
       IoTDBSqlParser.ResampleClauseContext ctx, CreateContinuousQueryStatement statement) {
     if (ctx.FOR() != null) {
-      throw new SemanticException("CQ: The syntax of CREATE CQ statement has changed from v0.14");
+      throw new SemanticException(
+          "CQ: The syntax of CREATE CQ statement has changed in 1.0.x and later versions.");
     }
 
     if (ctx.EVERY() != null) {