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

ASF GitHub Bot updated HIVE-28427:
----------------------------------
    Labels: pull-request-available  (was: )

> HivePreFilteringRule gets applied multiple times
> ------------------------------------------------
>
>                 Key: HIVE-28427
>                 URL: https://issues.apache.org/jira/browse/HIVE-28427
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Soumyakanti Das
>            Assignee: Soumyakanti Das
>            Priority: Major
>              Labels: pull-request-available
>
> In the {{matches}} method of {{{}HivePreFilteringRule{}}}, we check if a node 
> has already been visited using the {{{}HiveRulesRegistry{}}}. This is done by 
> using a {{{}SetMultimap<RelOptRule, RelNode>{}}}. Currently, we don't get the 
> same hash value for equivalent RelNodes and because of this we visit similar 
> nodes multiple times even when it is present in the registry. Sometimes we 
> can also see infinite matching.
>  
> Instead we can use a {{SetMultimap<RelOptRule, String>}} and store Strings.



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

Reply via email to