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

Enable cartesian product merging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Parser
    • None

    Description

      Currently we can merge 2-way joins into n-way joins when the joins are executed over the same column.

      In turn, CBO might produce plans containing cartesian products if the join columns are constant values; after HIVE-12543 went in, this is rather common, as those constant columns are correctly pruned. However, currently we do not merge a cartesian product with two inputs into a cartesian product with multiple inputs, which could result in performance loss.

      Attachments

        1. HIVE-13069.01.patch
          171 kB
          jcamachorodriguez
        2. HIVE-13069.01.patch
          171 kB
          jcamachorodriguez
        3. HIVE-13069.patch
          0.9 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:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: