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?