You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Dhiraj Kumar (JIRA)" <ji...@apache.org> on 2016/12/21 14:16:58 UTC

[jira] [Created] (HIVE-15486) DefaultGraphWalker invokes getChildren() as many times as there are children

Dhiraj Kumar created HIVE-15486:
-----------------------------------

             Summary: 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.1.0, 2.0.0
            Reporter: Dhiraj Kumar


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]






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)