Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parser fallback to LL mode #18852

Merged
merged 3 commits into from
Aug 30, 2023
Merged

Fix parser fallback to LL mode #18852

merged 3 commits into from
Aug 30, 2023

Conversation

electrum
Copy link
Member

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@github-actions github-actions bot added the delta-lake Delta Lake connector label Aug 29, 2023
@cla-bot cla-bot bot added the cla-signed label Aug 29, 2023
@@ -48,7 +49,7 @@

public class SqlParser
{
private static final BaseErrorListener LEXER_ERROR_LISTENER = new BaseErrorListener()
private static final ANTLRErrorListener LEXER_ERROR_LISTENER = new BaseErrorListener()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the interface needed by ANTLR. The base class is just a convenience for implementations. It’s like declaring as Map rather than AbstractMap.

@electrum electrum merged commit 841854d into trinodb:master Aug 30, 2023
@electrum electrum deleted the parser branch August 30, 2023 03:48
@github-actions github-actions bot added this to the 426 milestone Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed delta-lake Delta Lake connector
Development

Successfully merging this pull request may close these issues.

3 participants