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 "Andrew Sherman (Jira)" <ji...@apache.org> on 2023/01/03 18:50:00 UTC

[jira] [Work started] (IMPALA-11811) Avoid storing unregistered predicate objects in a Map

     [ https://issues.apache.org/jira/browse/IMPALA-11811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on IMPALA-11811 started by Andrew Sherman.
-----------------------------------------------
> Avoid storing unregistered predicate objects in a Map
> -----------------------------------------------------
>
>                 Key: IMPALA-11811
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11811
>             Project: IMPALA
>          Issue Type: Bug
>          Components: fe
>    Affects Versions: Impala 1.4.2
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Major
>
> Within the extractIcebergConjuncts() method we are tracking conjuncts which are identity conjuncts by storing them in a temporary Map. 
> The conjuncts are Expr objects which have a hashCode() method based on their id_ field, which is only present when they are registered. 
> If the id_ field is null, then the hashCode() will throw, and hence unregistered predicates cannot be stored in a Map.
> This can happen if the conjuncts are bound predicates (produced by getBoundPredicates()) which are explicitly not registered. 
> Change  extractIcebergConjuncts() to track the identity conjuncts in another way, perhaps using a boolean array which tracks the index of the identity conjuncts in conjuncts_ List.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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