Skip to content

Conversation

@nilmerg
Copy link
Member

@nilmerg nilmerg commented May 8, 2023

No description provided.

@nilmerg
Copy link
Member Author

nilmerg commented May 8, 2023

Not refined and not tested with MySQL yet.

@nilmerg nilmerg removed this from the v0.5.2 milestone May 15, 2023
@nilmerg
Copy link
Member Author

nilmerg commented Jul 6, 2023

MySQL uses a non-standard syntax (COUNT(DISTINCT col1, col2, col3)) to achieve a count distinct over multiple columns. However, it does not support COUNT(DISTINCT (col1, col2, col3)) as PostgreSQL does. Since I didn't find an alternative for either version which is supported by MySQL and PostgreSQL at the same time, generating the queries vendor related seems to be the only way.

@nilmerg
Copy link
Member Author

nilmerg commented Nov 5, 2025

Replaced by #152

@nilmerg nilmerg closed this Nov 5, 2025
@nilmerg nilmerg deleted the fix-postgres-count-distinct branch November 5, 2025 12:50
@nilmerg nilmerg removed their assignment Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants