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

Enable Constant propagation optimizer for Hive Vectorization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Vectorization
    • None

    Description

      HIVE-5771 covers Constant propagation optimizer for Hive. Now that HIVE-5771 is committed, we should remove any vectorization related code which duplicates this feature. For example, a fn to be cleaned is VectorizarionContext::foldConstantsForUnaryExprs(). In addition to this change, constant propagation should kick in when vectorization is enabled. i.e. we need to lift the HIVE_VECTORIZATION_ENABLED restriction inside ConstantPropagate::transform().

      Attachments

        1. HIVE-6959.1.patch
          8 kB
          Hari Sankar Sivarama Subramaniyan
        2. HIVE-6959.2.patch
          73 kB
          Hari Sankar Sivarama Subramaniyan
        3. HIVE-6959.4.patch
          75 kB
          Hari Sankar Sivarama Subramaniyan
        4. HIVE-6959.5.patch
          90 kB
          Hari Sankar Sivarama Subramaniyan
        5. HIVE-6959.6.patch
          135 kB
          Hari Sankar Sivarama Subramaniyan

        Issue Links

          Activity

            People

              hsubramaniyan Hari Sankar Sivarama Subramaniyan
              hsubramaniyan Hari Sankar Sivarama Subramaniyan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: