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

Apply IdentityProjectRemover after other optimizations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      IdentityProjectRemove optimizer may remove some Project operators that change the table alias for the input columns; this might cause optimizations such as StatsOptimizer, that rely on colExprMap and consequently store table aliases, to behave incorrectly.
      To avoid this, we could apply IdentityProjectRemove optimization after all the rest have been previously applied, and document it accordingly.

      Attachments

        1. HIVE-9636.patch
          1 kB
          jcamachorodriguez

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: