[jOOQ/jOOQ#10178] Special treatment for DISTINCT with subqueries
This commit is contained in:
parent
123d979ecd
commit
b267964f94
@ -53,6 +53,7 @@ import static org.jooq.SQLDialect.MARIADB;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.MYSQL;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.POSTGRES;
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.SQLITE;
|
||||
@ -88,7 +89,8 @@ final class RowIsDistinctFrom extends AbstractCondition {
|
||||
|
||||
// An emulation may be required only for the version where a subquery is used
|
||||
// E.g. in HSQLDB: https://sourceforge.net/p/hsqldb/bugs/1579/
|
||||
private static final Set<SQLDialect> EMULATE_DISTINCT_SELECT = SQLDialect.supportedBy(HSQLDB);
|
||||
// Or in PostgreSQL: https://twitter.com/pg_xocolatl/status/1260344255035379714
|
||||
private static final Set<SQLDialect> EMULATE_DISTINCT_SELECT = SQLDialect.supportedBy(HSQLDB, POSTGRES);
|
||||
private static final Set<SQLDialect> SUPPORT_DISTINCT_WITH_ARROW = SQLDialect.supportedBy(MARIADB, MYSQL);
|
||||
|
||||
private final Row lhs;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user