gaoran10 opened a new pull request, #15326:
URL: https://github.com/apache/pulsar/pull/15326
Fix #14951
# Motivation
The presto 332 couldn't parse Java version like this `11.0.14.1`, so add a
Java version trim agent to walk around the problem.
This is a temporary patch, after the presto upgrade to 332+, we could remove
this.
(cherry picked from commit a1aa18f1a856d074bb23d68f5c330d3558bdf6cb)
### Modifications
Add a Java version trim agent to format the system property `java.version`
for the Pulsar SQL plugin.
### Verifying this change
This change is already covered by existing tests.
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (yes)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (yes)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
Check the box below or label this PR directly.
Need to update docs?
- [ ] `doc-required`
(Your PR needs to update docs and you will update later)
- [x] `no-need-doc`
(Please explain why)
- [ ] `doc`
(Your PR contains doc changes)
- [ ] `doc-added`
(Docs have been already added)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]