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

Conditional expressions optimization: skip the expression evaluation if the condition is not satisfied for vectorization engine.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 3.0.0
    • None
    • None

    Description

      The case when and if statement execution for Hive vectorization is not optimal, which all the conditional and else expressions are evaluated for current implementation. The optimized approach is to update the selected array of batch parameter after the conditional expression is executed. Then the else expression will only do the selected rows instead of all.

      Attachments

        1. HIVE-17139.1.patch
          22 kB
          Ke Jia
        2. HIVE-17139.2.patch
          15 kB
          Ke Jia
        3. HIVE-17139.3.patch
          12 kB
          Ke Jia
        4. HIVE-17139.4.patch
          13 kB
          Ke Jia
        5. HIVE-17139.5.patch
          13 kB
          Ke Jia
        6. HIVE-17139.6.patch
          11 kB
          Ke Jia
        7. HIVE-17139.7.patch
          11 kB
          Ke Jia
        8. HIVE-17139.8.patch
          12 kB
          Ke Jia
        9. HIVE-17139.9.patch
          24 kB
          Ke Jia
        10. HIVE-17139.10.patch
          23 kB
          Ke Jia
        11. HIVE-17139.11.patch
          20 kB
          Ke Jia
        12. HIVE-17139.12.patch
          22 kB
          Ke Jia
        13. HIVE-17139.13.patch
          22 kB
          Ke Jia
        14. HIVE-17139.13.patch
          22 kB
          Ke Jia
        15. HIVE-17139.14.patch
          17 kB
          Ke Jia
        16. HIVE-17139.15.patch
          18 kB
          Ke Jia
        17. HIVE-17139.16.patch
          18 kB
          Ke Jia
        18. HIVE-17139.17.patch
          57 kB
          Ke Jia
        19. HIVE-17139.18.patch
          61 kB
          Ke Jia
        20. HIVE-17139.18.patch
          61 kB
          Ke Jia
        21. HIVE-17139.19.patch
          66 kB
          Ke Jia
        22. HIVE-17139.20.patch
          72 kB
          Ke Jia

        Issue Links

          Activity

            People

              Jk_Self Ke Jia
              Jk_Self Ke Jia
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: