Skip to content

Properly handle ROUND as a function #2966

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

Closed
wants to merge 3 commits into from
Closed

Properly handle ROUND as a function #2966

wants to merge 3 commits into from

Conversation

gregturn
Copy link
Contributor

ROUND worked previously, so this is a regression by the HQL query parser.

gregturn added 3 commits May 22, 2023 14:53
Because ROUND is a reserved word yet is NOT on the list of approved functions, it fails to get parsed. Simply dropping it from the list of reserved words makes it succeed in the HQL query parser.

See #2964
@gregturn gregturn linked an issue May 22, 2023 that may be closed by this pull request
gregturn added a commit that referenced this pull request May 22, 2023
Because ROUND is a reserved word yet is NOT on the list of approved functions, it fails to get parsed. Simply dropping it from the list of reserved words makes it succeed in the HQL query parser.

See #2964
Original Pull Request: #2966
gregturn added a commit that referenced this pull request May 22, 2023
Because ROUND is a reserved word yet is NOT on the list of approved functions, it fails to get parsed. Simply dropping it from the list of reserved words makes it succeed in the HQL query parser.

See #2964
Original Pull Request: #2966
@gregturn gregturn closed this May 22, 2023
@gregturn gregturn deleted the issue/gh-2964 branch May 24, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BadJpqlGrammarException in 3.1.0 when using "round" in a select query
1 participant