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

support count(*) and count distinct on multiple columns

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              aprabhakar Arvind Prabhakar Assign to me
              Reporter:
              namit Namit Jain

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment