Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21720

Sql. Implement hash join

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0
    • sql

    Description

      At the moment, we have two basic join strategies: nested loop and merge. Looks like we can significantly improve performance of equi-joins by introducing one more strategy: hash join.

      Implementation Notes

      Looks like we can unify NestedLoopJoinNode in order to support both NL and HASH strategies. For this, we need to introduce abstraction for rightMaterialize part that will have two methods: void push(RowT r) and List<RowT> lookup(RowT r). Push should be used during filling stage; lookup should be used within join main loop.

      Attachments

        Issue Links

          Activity

            People

              zstan Evgeny Stanilovsky
              korlov Konstantin Orlov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 6h 50m
                  6h 50m