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

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

    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.patch
          14 kB
          jcamachorodriguez
        2. HIVE-16934.01.patch
          959 kB
          jcamachorodriguez
        3. HIVE-16934.02.patch
          949 kB
          jcamachorodriguez
        4. HIVE-16934.03.patch
          1.09 MB
          jcamachorodriguez

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: