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

Constant propagation optimizer for Hive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Query Processor
    • None

    Description

      Currently there is no constant folding/propagation optimizer, all expressions are evaluated at runtime.

      HIVE-2470 did a great job on evaluating constants on UDF initializing phase, however, it is still a runtime evaluation and it doesn't propagate constants from a subquery to outside.

      It may reduce I/O and accelerate process if we introduce such an optimizer.

      Attachments

        1. HIVE-5771.17.patch
          745 kB
          Ashutosh Chauhan
        2. HIVE-5771.16.patch
          619 kB
          Ashutosh Chauhan
        3. HIVE-5771.14.patch
          596 kB
          Ted Xu
        4. HIVE-5771.12.patch
          674 kB
          Ashutosh Chauhan
        5. HIVE-5771.11.patch
          655 kB
          Ted Xu
        6. HIVE-5771.patch.javaonly
          61 kB
          Ted Xu
        7. HIVE-5771.10.patch
          716 kB
          Ashutosh Chauhan
        8. HIVE-5771.9.patch
          680 kB
          Ashutosh Chauhan
        9. HIVE-5771.8.patch
          677 kB
          Ashutosh Chauhan
        10. HIVE-5771.7.patch
          567 kB
          Ashutosh Chauhan
        11. HIVE-5771.6.patch
          2.43 MB
          Ted Xu
        12. HIVE-5771.5.patch
          2.42 MB
          Ted Xu
        13. HIVE-5771.4.patch
          2.64 MB
          Ted Xu
        14. HIVE-5771.3.patch
          2.64 MB
          Ted Xu
        15. HIVE-5771.2.patch
          2.98 MB
          Ted Xu
        16. HIVE-5771.1.patch
          3.00 MB
          Ted Xu
        17. HIVE-5771.patch
          323 kB
          Ted Xu

        Issue Links

          Activity

            People

              tedxu Ted Xu
              tedxu Ted Xu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: