Details
Description
For table t1(pk1, col1, CONSTRAINT(pk1))
upsert into "t1" values (1, 1);
upsert into "t1" values (2, 2);
sql A: select count("pk1") from "t1" limit 1, return 2 [correct]
sql B: select count(disctinct("pk1")) from "t1" limit 1, return 1 [incorrect]
Attachments
Attachments
Issue Links
- is caused by
-
PHOENIX-3501 Push limit to server for distinct optimization
- Resolved