#2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte

This commit is contained in:
Rob Bygrave
2022-02-04 08:58:21 +13:00
parent cf3499f0e4
commit daf0ba67a4
2 changed files with 2 additions and 2 deletions
@@ -757,7 +757,7 @@ final class CQueryBuilder {
}
boolean isPlatformDistinctOn() {
return dbPlatform.isPlatform(Platform.POSTGRES) || dbPlatform.isPlatform(Platform.YUGABYTE);
return dbPlatform.isPlatform(Platform.POSTGRES) || dbPlatform.isPlatform(Platform.YUGABYTE) || dbPlatform.isPlatform(Platform.COCKROACH);
}
boolean isPlatformDistinctNoLobs() {
@@ -35,7 +35,7 @@ public class TestQueryUsingConnection extends BaseTestCase {
}
}
@IgnorePlatform(Platform.SQLSERVER)
@IgnorePlatform({Platform.SQLSERVER, Platform.COCKROACH})
@Test
public void usingTransaction() {