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

support count(*) and count distinct on multiple columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • Query Processor
    • None
    • Reviewed
    • This change deprecates the GenericUDAFResolver interface in favor of the new GenericUDAFResolver2.

    Description

      The following query does not work:

      select count(distinct col1, col2) from Tbl

      Attachments

        1. HIVE-287-1.patch
          34 kB
          Arvind Prabhakar
        2. HIVE-287-2.patch
          36 kB
          Arvind Prabhakar
        3. HIVE-287-3.patch
          34 kB
          Arvind Prabhakar
        4. HIVE-287-4.patch
          41 kB
          Arvind Prabhakar
        5. HIVE-287-5-branch-0.6.patch
          53 kB
          Arvind Prabhakar
        6. HIVE-287-5-trunk.patch
          53 kB
          Arvind Prabhakar
        7. HIVE-287-6-branch-0.6.patch
          55 kB
          Arvind Prabhakar
        8. HIVE-287-6-trunk.patch
          55 kB
          Arvind Prabhakar

        Issue Links

          Activity

            People

              Amelii Amelia Emma
              namit Namit Jain
              Votes:
              1 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: