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

Review of AggregateStatsCache

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Metastore
    • Labels:
      None
    • Flags:
      Patch

      Description

      Improve cache key for cache implemented in org.apache.hadoop.hive.metastore.AggregateStatsCache.

      1. Upgrade debug logging to not generate text unless required
      2. Changed equals method to check first for the item most likely to be different, column name
      3. Improve usage of Java 8 Map API

        Attachments

        1. HIVE-16879.1.patch
          3 kB
          David Mollitor
        2. HIVE-16879.2.patch
          5 kB
          David Mollitor
        3. HIVE-16879.3.patch
          6 kB
          David Mollitor
        4. HIVE-16879.4.patch
          7 kB
          David Mollitor

          Issue Links

            Activity

              People

              • Assignee:
                belugabehr David Mollitor
                Reporter:
                belugabehr David Mollitor
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: