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

Log logical plan tree for debugging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.11.0
    • Diagnosability
    • None
    • Reviewed

    Description

      Debugging or implementing optimizer, knowing the shape of logical plan helps general progress of it.

      For example,
      select count(val) from (select a.key as key, b.value as array_val from src a join array_valued_src b on a.key=b.key) i lateral view explode (array_val) c as val

       
      TS[1]-RS[2]-JOIN[4]-SEL[5]-LVF[6]-SEL[7]-LVJ[10]-SEL[11]-GBY[12]-RS[13]-GBY[14]-SEL[15]-FS[16]
                                       -SEL[8]-UDTF[9]-LVJ[10]
      TS[0]-RS[3]-JOIN[4]
      

      Attachments

        1. HIVE-4258.D9801.1.patch
          3 kB
          Phabricator

        Activity

          People

            navis Navis Ryu
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: