-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19704 listagg on overflow #10759
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
base: main
Are you sure you want to change the base?
HHH-19704 listagg on overflow #10759
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left a couple of comments.
hibernate-core/src/test/java/org/hibernate/orm/test/sql/TemplateTest.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
Outdated
Show resolved
Hide resolved
5d6e123
to
aa6fb4d
Compare
…nto HHH-19704-listagg-on-overflow # Conflicts: # hibernate-core/src/test/java/org/hibernate/orm/test/sql/TemplateTest.java
Can't help noticing this PR's associated ticket has been stuck on Waiting for review for some time: https://hibernate.atlassian.net/browse/HHH-19704 The fix has been implemented in the same spirit as some very recently performed changes. It has undergone extensive testing. I know projects, which desperately need it. Fingers crossed we can see some movement soon. |
…nto HHH-19704-listagg-on-overflow
This PR fixes the issue addressed in HHH-19704 with enhancements to Template.java plus its corresponding TemplateTest.
@gavinking 's last enhancement of this class addressed a problem with FETCH FIRST/PREV. HHH-19704 is essentially the same technical problem applied to another subset of tokens, which may be keywords depending on context.
The Template class's increased complexity is an unfortunate side-effect of this enhancement. The goal was to solve the problem, not create a total re-write of something that evidently works. I have enhanced TemplateTest above and beyond that HHH-19704 actually calls for. These enhancements ensure the vast majority of Template's many branches are touched by the test.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-19704