From 65ef53733a6214f5a87bdd4c6ad573760b0acfbb Mon Sep 17 00:00:00 2001 From: Yaobin Chen Date: Mon, 8 Jun 2026 15:53:45 +0800 Subject: [PATCH] support calculation point project with calc-graph of fuzzy search by graph name or description --- .../antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 b/iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 index 3e94667a2faa5..39c854ac15c03 100644 --- a/iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 +++ b/iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 @@ -878,9 +878,18 @@ dropCalcPoint showCalcPoint : SHOW CALCULATION POINTS prefixPath + calcPointWhereClause? rowPaginationClause? ; +calcPointWhereClause + : WHERE calcPointContainsExpression + ; + +calcPointContainsExpression + : filterKey=identifier operator_contains value=STRING_LITERAL + ; + viewColumnDefinition : identifier columnCategory=(TAG | TIME | FIELD) comment? | identifier type (columnCategory=(TAG | TIME | FIELD))? comment?