You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "liuyao (Jira)" <ji...@apache.org> on 2021/09/23 02:57:00 UTC
[jira] [Commented] (IMPALA-2581) Push down LIMIT past DISTINCT
[ https://issues.apache.org/jira/browse/IMPALA-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418914#comment-17418914 ]
liuyao commented on IMPALA-2581:
--------------------------------
https://gerrit.cloudera.org/#/c/17821/
> Push down LIMIT past DISTINCT
> ------------------------------
>
> Key: IMPALA-2581
> URL: https://issues.apache.org/jira/browse/IMPALA-2581
> Project: IMPALA
> Issue Type: Improvement
> Components: Frontend
> Affects Versions: Impala 2.5.0
> Reporter: Jim Apple
> Assignee: liuyao
> Priority: Minor
> Labels: performance
>
> In a table t with a column x with no null values, "SELECT DISTINCT x FROM t LIMIT 1" should be roughly instant. Instead, it finds *all* the distinct values, then returns one of them.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org