This is an automated email from the ASF dual-hosted git repository. hui pushed a commit to branch SelectIntoErrorMsg in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit c76c9f722806a6614f66c4e1ab937ad124013d51 Author: Minghui Liu <[email protected]> AuthorDate: Wed Jun 1 10:45:50 2022 +0800 add error message in select-into --- .../main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java | 5 +++++ 1 file changed, 5 insertions(+) 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 de68bb85a2..90c2fed2f3 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 @@ -674,6 +674,11 @@ public class ASTVisitor extends IoTDBSqlParserBaseVisitor<Statement> { @Override public Statement visitSelectStatement(IoTDBSqlParser.SelectStatementContext ctx) { + if (ctx.intoClause() != null) { + throw new SemanticException( + "The SELECT-INTO statement is not supported in the current version."); + } + // initialize query statement queryStatement = new QueryStatement();
