Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2973

Allow theta joins that have equi conditions to be executed using a hash join algorithm

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.19.0
    • 1.21.0
    • core

    Description

      Now the EnumerableMergeJoinRule only supports an inner and equi join.

      If users make a theta-join query  for a large dataset (such as 10000*10000), the nested-loop join process will take dozens of time than the sort-merge join process .

      So if we can apply merge-join or hash-join rule for a theta join, it will improve the performance greatly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hhlai1990 Lai Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 9.5h
                  9.5h