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

Use SQL constraints to improve join reordering algorithm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • CBO
    • None

    Description

      Till now, it was all based on stats stored for the base tables and their columns. Now the optimizer can rely on constraints. Hence, this patch is for the join reordering costing to use constraints, and if it does not find any, rely on old code path.

      Attachments

        1. HIVE-20744.01.patch
          33 kB
          jcamachorodriguez
        2. HIVE-20744.02.patch
          36 kB
          jcamachorodriguez
        3. HIVE-20744.03.patch
          36 kB
          jcamachorodriguez
        4. HIVE-20744.04.patch
          356 kB
          jcamachorodriguez
        5. HIVE-20744.05.patch
          433 kB
          jcamachorodriguez
        6. HIVE-20744.06.patch
          433 kB
          jcamachorodriguez
        7. HIVE-20744.06.patch
          433 kB
          jcamachorodriguez
        8. HIVE-20744.07.patch
          433 kB
          jcamachorodriguez
        9. HIVE-20744.patch
          218 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: