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

Transform COUNT(x) into COUNT() when x is not nullable

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Logical Optimizer
    • None

    Description

      Add a rule to simplify COUNT aggregation function if possible, removing expressions that cannot be nullable from its parameters.

      Attachments

        1. HIVE-16934.03.patch
          1.09 MB
          jcamachorodriguez
        2. HIVE-16934.02.patch
          949 kB
          jcamachorodriguez
        3. HIVE-16934.01.patch
          959 kB
          jcamachorodriguez
        4. HIVE-16934.patch
          14 kB
          jcamachorodriguez

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jcamacho Jesús Camacho Rodríguez Assign to me
            jcamacho Jesús Camacho Rodríguez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment