[jOOQ/jOOQ#18234] Window specification isn't inlined in Snowflake query using WITH TIES syntax

This commit is contained in:
Lukas Eder 2025-03-26 16:47:45 +01:00
parent a15ad7403b
commit 71ad92d205

View File

@ -2264,6 +2264,9 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
.visit(K_FROM).sqlIndentStart(" (")
.subquery(true);
// [#18234] Re-push window specifications to the new subquery scope
pushWindow(ctx);
// [#13560] [#17947] Communicate the enforcement of MULTISET content to the CursorImpl.
if (ctx.executeContext() != null)
ctx.executeContext().data(DATA_MULTISET_CONTENT, true);