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

Update/delete/merge statements not optimized through CBO

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: CBO
    • Labels:
      None

      Description

      Currently, CBO is bypassed for update/delete/merge statements.

      To support optimizing these statements through CBO, we need to complete three main tasks: 1) support for sort in Calcite planner, 2) support for SORT in AST converter, and 3) RewriteSemanticAnalyzer should extend CalcitePlanner instead of SemanticAnalyzer.

        Attachments

        1. HIVE-22785.1.patch
          90 kB
          Krisztian Kasa
        2. HIVE-22785.10.patch
          2.42 MB
          Krisztian Kasa
        3. HIVE-22785.11.patch
          2.48 MB
          Krisztian Kasa
        4. HIVE-22785.12.patch
          2.49 MB
          Krisztian Kasa
        5. HIVE-22785.13.patch
          2.40 MB
          Krisztian Kasa
        6. HIVE-22785.14.patch
          2.40 MB
          Krisztian Kasa
        7. HIVE-22785.15.patch
          2.40 MB
          Krisztian Kasa
        8. HIVE-22785.15.patch
          2.40 MB
          Krisztian Kasa
        9. HIVE-22785.15.patch
          2.40 MB
          Krisztian Kasa
        10. HIVE-22785.15.patch
          2.40 MB
          Krisztian Kasa
        11. HIVE-22785.2.patch
          94 kB
          Krisztian Kasa
        12. HIVE-22785.2.patch
          94 kB
          Krisztian Kasa
        13. HIVE-22785.3.patch
          122 kB
          Krisztian Kasa
        14. HIVE-22785.4.patch
          131 kB
          Krisztian Kasa
        15. HIVE-22785.5.patch
          130 kB
          Krisztian Kasa
        16. HIVE-22785.6.patch
          136 kB
          Krisztian Kasa
        17. HIVE-22785.7.patch
          2.39 MB
          Krisztian Kasa
        18. HIVE-22785.8.patch
          2.39 MB
          Krisztian Kasa
        19. HIVE-22785.9.patch
          2.40 MB
          Krisztian Kasa

          Issue Links

            Activity

              People

              • Assignee:
                kkasa Krisztian Kasa
                Reporter:
                jcamachorodriguez Jesus Camacho Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: