MrNeocore opened a new issue #7060: URL: https://github.com/apache/incubator-pinot/issues/7060
Following Slack discussion : https://apache-pinot.slack.com/archives/C011C9JHN7R/p1623782718117700 **Context** Documents: 100M Segments: 90 **Query** Getting DISTINCT values for a low cardinality column (45 distinct STRINGs) Query `select DISTINCT(kpi) from kpis` takes ~10ms While `select DISTINCT(kpi) from kpis ORDER BY kpi` takes more than **300ms** Please have a look at the discussion by @mayankshriv and @kishoreg for more technical details -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org