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

Optimize sum(1) to answer query using metadata

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Query Processor, Statistics
    • Labels:
      None

      Description

      sum(1) has same semantics as count(1) so it can also be optimized in similar fashion by answering query using stats stored in metastore.

        Attachments

        1. HIVE-6192.2.patch
          30 kB
          Ashutosh Chauhan
        2. HIVE-6192.patch
          26 kB
          Ashutosh Chauhan

          Issue Links

            Activity

              People

              • Assignee:
                ashutoshc Ashutosh Chauhan
                Reporter:
                ashutoshc Ashutosh Chauhan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: