Skip to content

Fix Count Distinct on path with hql reserved words #3217

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

Merged
merged 5 commits into from
Jan 4, 2023

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Jan 2, 2023

Regression from #2502
Fixes #3215

@@ -600,7 +600,7 @@ vectorExpr
// NOTE: handleDotIdent() is called immediately after the first IDENT is recognized because
// the method looks a head to find keywords after DOT and turns them into identifiers.
identPrimary
: identifier { HandleDotIdent(); }
: identifier {{ HandleDotIdent(); }}
Copy link
Member Author

Choose a reason for hiding this comment

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

HandleDotIdent should be executed even while backtracking

@bahusoid bahusoid merged commit e258abe into nhibernate:5.4.x Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants