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

Make single metastore call to fetch all column stats instead of separate call for each column

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Planning
    • None

    Description

      Currently HiveRelFieldTrimmer has the ability to fetch (and trigger cache) column stats in single call.
      HiveReduceExpressionsWithStatsRule on the other hand has to use column stats on demand, as a result it makes single call for each column.
      This should be moved after RelFieldTrimmer so that RelFieldTrimmer has all the column stats cached.

      Attachments

        1. HIVE-22591.1.patch
          4 kB
          Vineet Garg

        Activity

          People

            vgarg Vineet Garg
            vgarg Vineet Garg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: