Class HashJoinOperator

  • All Implemented Interfaces:
    AutoCloseable, Operator<TransferableBlock>

    public class HashJoinOperator
    extends MultiStageOperator
    This basic BroadcastJoinOperator implement a basic broadcast join algorithm. This algorithm assumes that the broadcast table has to fit in memory since we are not supporting any spilling. For left join, inner join, right join and full join,

    It takes the right table as the broadcast side and materialize a hash table. Then for each of the left table row, it looks up for the corresponding row(s) from the hash table and create a joint row.

    For each of the data block received from the left table, it will generate a joint data block. We currently support left join, inner join, right join and full join. The output is in the format of [left_row, right_row]