Skip to content

QL: Upgrade ANTLR and move it into QL#76358

Merged
elasticsearchmachine merged 3 commits intoelastic:masterfrom
costin:fix/76354
Aug 11, 2021
Merged

QL: Upgrade ANTLR and move it into QL#76358
elasticsearchmachine merged 3 commits intoelastic:masterfrom
costin:fix/76354

Conversation

@costin
Copy link
Copy Markdown
Member

@costin costin commented Aug 11, 2021

Following #76288, upgrade ANTLR library to benefit from the various
improvements made in most recent releases in particular better
performance and error messages.

Looking at the changelog, since version 4.7.2 most changes in ANTLR seem
to have occurred in non-Java targets however this commit upgrades to
ANTLR 4.9.2 to benefit from the dependency updates (such as
StringTemplate).

Additionally move the library into QL to consolidate its use across QL
projects.

Relates #74448
Fix #76354

Following elastic#76288, upgrade ANTLR library to benefit from the various
improvements made in most recent releases in particular better
performance and error messages.

Looking at the changelog, since version 4.7.2 most changes in ANTLR seem
to have occurred in non-Java targets however this commit upgrades to
ANTLR 4.9.2 to benefit from the dependency updates (such as
StringTemplate).

Additionally move the library into QL to consolidate its use across QL
projects.

Relates elastic#74448
Fix elastic#76354
@costin costin requested review from Luegg, astefan and bpintea August 11, 2021 14:36
@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Aug 11, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-ql (Team:QL)

@costin costin added auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Aug 11, 2021
@costin
Copy link
Copy Markdown
Member Author

costin commented Aug 11, 2021

@elasticmachine run elasticsearch-ci/rest-compatibility

1 similar comment
@costin
Copy link
Copy Markdown
Member Author

costin commented Aug 11, 2021

@elasticmachine run elasticsearch-ci/rest-compatibility

@costin
Copy link
Copy Markdown
Member Author

costin commented Aug 11, 2021

@elasticsearchmachine update branch

@costin
Copy link
Copy Markdown
Member Author

costin commented Aug 11, 2021

@elasticmachine update branch

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
7.x

costin added a commit to costin/elasticsearch that referenced this pull request Aug 11, 2021
* QL: Upgrade ANTLR and move it into QL

Following elastic#76288, upgrade ANTLR library to benefit from the various
improvements made in most recent releases in particular better
performance and error messages.

Looking at the changelog, since version 4.7.2 most changes in ANTLR seem
to have occurred in non-Java targets however this commit upgrades to
ANTLR 4.9.2 to benefit from the dependency updates (such as
StringTemplate).

Additionally move the library into QL to consolidate its use across QL
projects.

Relates elastic#74448
Fix elastic#76354

* Fix matching on error message

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
7.x

@costin costin deleted the fix/76354 branch August 11, 2021 20:45
elasticsearchmachine pushed a commit that referenced this pull request Aug 12, 2021
* QL: Upgrade ANTLR and move it into QL

Following #76288, upgrade ANTLR library to benefit from the various
improvements made in most recent releases in particular better
performance and error messages.

Looking at the changelog, since version 4.7.2 most changes in ANTLR seem
to have occurred in non-Java targets however this commit upgrades to
ANTLR 4.9.2 to benefit from the dependency updates (such as
StringTemplate).

Additionally move the library into QL to consolidate its use across QL
projects.

Relates #74448
Fix #76354

* Fix matching on error message

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/EQL EQL querying :Analytics/SQL SQL querying auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:QL (Deprecated) Meta label for query languages team >upgrade v7.15.0 v8.0.0-alpha2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QL: Upgrade ANTLR dependency

5 participants