Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15486

DefaultGraphWalker invokes getChildren() as many times as there are children

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0, 2.1.0
    • None
    • Query Processor
    • None

    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

      Attachments

        1. query
          282 kB
          Dhiraj Kumar

        Activity

          People

            dhiraj.kumar Dhiraj Kumar
            dhiraj.kumar Dhiraj Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: