This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
Support DISTINCT and multiple expressions on aggregation functions #162
Labels
bug
Something isn't working
According to MySQL documentation aggregation functions support
DISTINCT
clause andCOUNT
supports multiple expressions. We don't support neither.I have been trying to implement the
DISTINCT
in a simple way by creating aDISTINCT
aggregation node to pass to the aggregation functions instead but it's a bit complicated to do for aggregations this way so it ended up nowhere and this can't be done with query rewriting.We should think more about how to implement this correctly.
Labeling as bug because right now it parses but produces wrong results.
The text was updated successfully, but these errors were encountered: