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 "Jacques (Jira)" <ji...@apache.org> on 2022/03/09 15:28:00 UTC

[jira] [Commented] (IMPALA-3293) Selectivity hints on predicates

    [ https://issues.apache.org/jira/browse/IMPALA-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503650#comment-17503650 ] 

Jacques commented on IMPALA-3293:
---------------------------------

Old request, but I ran into a situation this week where this would have been extremely useful - even if only to more directly influence access plan selection and understand the impact on query performance. As it stands I have to use indirect methods of overriding stats (dangerous on widely used tables), rewriting queries, adding bogus predicates, etc

 

I see I already voted :D

> Selectivity hints on predicates
> -------------------------------
>
>                 Key: IMPALA-3293
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3293
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Frontend
>    Affects Versions: Product Backlog
>            Reporter: Marcell Szabo
>            Priority: Minor
>
> We should have a possibility to hint the planner about the selectivity of a given predicate. The planner should produce the 'Est. # of rows' by multiplying with selectivity (coming from hint) instead of dividing by cardinality (coming from table stats).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org