Yugabyte - use distinct on clause with Yugabyte (like Postgres)

This commit is contained in:
Rob Bygrave committed 2022-02-02 23:38:50 +13:00
1 parent 2cd769d00f
commit 94951a5476
12 files changed
+28 -24

No files matched your search

@@ -757,7 +757,7 @@ final class CQueryBuilder {
}
boolean isPlatformDistinctOn() {
return dbPlatform.isPlatform(Platform.POSTGRES);
return dbPlatform.isPlatform(Platform.POSTGRES) || dbPlatform.isPlatform(Platform.YUGABYTE);
}
boolean isPlatformDistinctNoLobs() {