Implement distinct qualifier for aggregate function calls#5740
Conversation
This enables "count(distinct a)" etc.
d826c43 to
de76784
Compare
|
I've been testing out this branch as of commit 99f3988. In positive news, the query I showed in linked issue #5708 now runs and returns the expected result. However, I also have a bunch of ClickBench queries that were waiting on |
|
More testing on this branch, now at commit aa04445. It looks like there's a correctness problem in vector runtime with the following ClickBench query. It uses the same test data as referenced in the prior comment. Whereas in sequential runtime it's: And the sequential result matches the one from DuckDB. |
|
@philrz: Thanks for the bug reports. I've fixed both. |
|
This is a functional 👍 for me too. In addition to confirming the two bugs cited above have been addressed for those specific queries, I've just completed a run across seven ClickBench queries I previously did in an all-pipes, two-step workaround due to lack of |
This enables "count(distinct a)" etc.
Fixes #5708.
I didn't see a straightforward way to add this to the documentation so I didn't do so.