Fix not throw error when part of expression not matched any expression node in the `MQE` and `PromQL. (#12093)

This commit is contained in:
Wan Kai 2024-04-11 22:50:55 +08:00 committed by GitHub
parent f97fd4f6e4
commit 13bb3f62a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -96,6 +96,7 @@
* Bump up Kafka to fix CVE.
* Fix `NullPointerException` in Istio ServiceEntry registry.
* Remove unnecessary `componentIds` as series ID in the `ServiceRelationClientSideMetrics` and `ServiceRelationServerSideMetrics` entities.
* Fix not throw error when part of expression not matched any expression node in the `MQE` and `PromQL.
#### UI

View File

@ -20,7 +20,7 @@ parser grammar MQEParser;
options { tokenVocab = MQELexer; }
root: expression;
root: expression EOF;
expression
: expressionNode # exprNode

View File

@ -20,7 +20,7 @@ parser grammar PromQLParser;
options { tokenVocab = PromQLLexer; }
root: expression;
root: expression EOF;
expression
: expressionNode # exprNode