Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5369 Annotate hive operator tree with statistics from metastore
  3. HIVE-7734

Join stats annotation rule is not updating columns statistics correctly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Query Processor, Statistics
    • None

    Description

      HIVE-7679 is not doing the correct thing. The scale down/up factor updating column stats was wrong as ratio = newRowCount/oldRowCount is always infinite (oldRowCount = 0). The old row count should be retrieved from parent corresponding to the current column whose statistics is being updated.

      Attachments

        1. HIVE-7734.1.patch
          11 kB
          Prasanth Jayachandran
        2. HIVE-7734.2.patch
          11 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              prasanth_j Prasanth Jayachandran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: