[ https://issues.apache.org/jira/browse/HIVE-15486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dhiraj Kumar updated HIVE-15486: -------------------------------- Description: DefaultGraphWalker while walking a Node, calls up getChildren method as many times as there are children. This leads a performance penalty where a node has too many direct children. Attached is query file. Instruction to run 1. time hive -f query Checkout the time on hive 1.2 version vs 2.1 version. This change was introduced in [HIVE-11652|https://issues.apache.org/jira/browse/HIVE-11652] was: DefaultGraphWalker while walking a Node, calls up getChildren method as many times as there are children. This leads a performance penalty where a node has too many direct children. Attached is query file. Instructions to run 1. time hive -f query Checkout the time on 1.2 version vs 2.1 version. This change was introduced in [HIVE-11652|https://issues.apache.org/jira/browse/HIVE-11652] > DefaultGraphWalker invokes getChildren() as many times as there are children > ---------------------------------------------------------------------------- > > Key: HIVE-15486 > URL: https://issues.apache.org/jira/browse/HIVE-15486 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 2.0.0, 2.1.0 > Reporter: Dhiraj Kumar > Attachments: query > > > DefaultGraphWalker while walking a Node, calls up getChildren method as many > times as there are children. This leads a performance penalty where a node > has too many direct children. > Attached is query file. Instruction to run > 1. time hive -f query > Checkout the time on hive 1.2 version vs 2.1 version. > This change was introduced in > [HIVE-11652|https://issues.apache.org/jira/browse/HIVE-11652] -- This message was sent by Atlassian JIRA (v6.3.4#6332)