[jOOQ/jOOQ#14349] Teradata TOP expression or DISTINCT TOP don't work

This commit is contained in:
Lukas Eder 2022-12-01 14:09:07 +01:00
parent 66616e046e
commit e702a9f8f7

View File

@ -269,6 +269,7 @@ import org.jooq.JoinType;
import org.jooq.Name;
import org.jooq.Operator;
import org.jooq.OrderField;
import org.jooq.Param;
// ...
import org.jooq.QualifiedAsterisk;
import org.jooq.QueryPart;
@ -1762,6 +1763,7 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
case MARIADB: {
@ -1889,6 +1891,20 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp
context.scopeEnd();
}
private final void pushWindow(Context<?> context) {
// [#531] [#2790] Make the WINDOW clause available to the SELECT clause
// to be able to inline window definitions if the WINDOW clause is not