You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
For now we only support COUNT(DISTINCT) because we rely on Elasticsearch aggregation to de-duplicate. Basically SELECT DISTINCT is equivalent to GROUP BY without aggregate function, so one option is to translate distinct to aggregation. In other database, DISTINCT and GROUP BY generates different physical plan, so it makes more sense to do this translation when generating DSL rather than by rewriter.
Use case
We want to be able to use SELECT DISTINCT to find out list of unique item of specific field without duplicate data
Example SQL
OD-SQL
actual result(Partial)
you could see, there is duplicate data in result
Expected result
no duplicate data
The text was updated successfully, but these errors were encountered: