This is an automated email from the ASF dual-hosted git repository.
FrankChen021 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 627fdc8e1e0 build(deps): bump antlr4.version from 4.5.3 to 4.13.2
(#19896)
627fdc8e1e0 is described below
commit 627fdc8e1e038fa0d738d028ffff08acbaf84072
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Fri Aug 7 13:19:28 2026 +0800
build(deps): bump antlr4.version from 4.5.3 to 4.13.2 (#19896)
* build(deps): bump antlr4.version from 4.5.3 to 4.13.2
Bumps `antlr4.version` from 4.5.3 to 4.13.2.
Updates `org.antlr:antlr4-runtime` from 4.5.3 to 4.13.2
- [Release notes](https://github.com/antlr/antlr4/releases)
- [Changelog](https://github.com/antlr/antlr4/blob/dev/CHANGES.txt)
- [Commits](https://github.com/antlr/antlr4/compare/4.5.3...4.13.2)
Updates `org.antlr:antlr4-coordinator` from 4.5.3 to 4.13.2
Updates `org.antlr:antlr4-maven-plugin` from 4.5.3 to 4.13.2
- [Release notes](https://github.com/antlr/antlr4/releases)
- [Changelog](https://github.com/antlr/antlr4/blob/dev/CHANGES.txt)
- [Commits](https://github.com/antlr/antlr4/compare/4.5.3...4.13.2)
---
updated-dependencies:
- dependency-name: org.antlr:antlr4-runtime
dependency-version: 4.13.2
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.antlr:antlr4-coordinator
dependency-version: 4.13.2
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.antlr:antlr4-maven-plugin
dependency-version: 4.13.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
* build(deps): update ANTLR grammar escapes for 4.13.2
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Frank Chen <[email protected]>
---
licenses.yaml | 2 +-
pom.xml | 2 +-
processing/src/main/antlr4/org/apache/druid/math/expr/antlr/Expr.g4 | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/licenses.yaml b/licenses.yaml
index ad0e115093d..466afd1ff69 100644
--- a/licenses.yaml
+++ b/licenses.yaml
@@ -3789,7 +3789,7 @@ name: ANTLR 4 Runtime
license_category: binary
module: java-core
license_name: BSD-3-Clause License
-version: 4.5.3
+version: 4.13.2
copyright: The ANTLR Project
license_file_path: licenses/bin/antlr4-runtime.BSD3
libraries:
diff --git a/pom.xml b/pom.xml
index 6237a441648..ae1444b1e5c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,7 +79,7 @@
<!-- when updating apache ranger, verify the usage of aws-bundle-sdk
vs aws-logs-sdk
and update as needed in
extensions-contrib/druid-ranger-security/pom.xml -->
<apache.ranger.version>2.8.0</apache.ranger.version>
- <antlr4.version>4.5.3</antlr4.version>
+ <antlr4.version>4.13.2</antlr4.version>
<gson.version>2.14.0</gson.version>
<scala.library.version>2.13.16</scala.library.version>
<avatica.version>1.28.0</avatica.version>
diff --git
a/processing/src/main/antlr4/org/apache/druid/math/expr/antlr/Expr.g4
b/processing/src/main/antlr4/org/apache/druid/math/expr/antlr/Expr.g4
index fd8288b2b08..11e0dff88ba 100644
--- a/processing/src/main/antlr4/org/apache/druid/math/expr/antlr/Expr.g4
+++ b/processing/src/main/antlr4/org/apache/druid/math/expr/antlr/Expr.g4
@@ -61,11 +61,11 @@ EXP: [eE] [-]? LONG;
// DOUBLE provides partial support for java double format
// see:
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html#valueOf(java.lang.String)
DOUBLE : 'NaN' | 'Infinity' | (LONG '.' LONG?) | (LONG EXP) | (LONG '.' LONG?
EXP);
-IDENTIFIER : [_$a-zA-Z][_$a-zA-Z0-9]* | '"' (ESC | ~ [\"\\])* '"';
+IDENTIFIER : [_$a-zA-Z][_$a-zA-Z0-9]* | '"' (ESC | ~ ["\\])* '"';
WS : [ \t\r\n]+ -> skip ;
-STRING : '\'' (ESC | ~ [\'\\])* '\'';
-fragment ESC : '\\' ([\'\"\\/bfnrt] | UNICODE) ;
+STRING : '\'' (ESC | ~ ['\\])* '\'';
+fragment ESC : '\\' (['"\\/bfnrt] | UNICODE) ;
fragment UNICODE : 'u' HEX HEX HEX HEX ;
fragment HEX : [0-9a-fA-F] ;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]