Skip to content

Commit

Permalink
Making stream joins extensible: A new Trait implementation for SHJ (#…
Browse files Browse the repository at this point in the history
…8234)

* Upstream

* Update utils.rs

* Review

* Name change and remove ignore on test

* Comment revisions

* Improve comments

---------

Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com>
  • Loading branch information
metesynnada and ozankabak authored Nov 20, 2023
1 parent 393e48f commit 2156dde
Show file tree
Hide file tree
Showing 11 changed files with 1,463 additions and 350 deletions.
3 changes: 1 addition & 2 deletions datafusion/physical-plan/src/joins/hash_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use std::{any::Any, usize, vec};
use crate::joins::utils::{
adjust_indices_by_join_type, apply_join_filter_to_indices, build_batch_from_indices,
calculate_join_output_ordering, get_final_indices_from_bit_map,
need_produce_result_in_final,
need_produce_result_in_final, JoinHashMap, JoinHashMapType,
};
use crate::DisplayAs;
use crate::{
Expand All @@ -35,7 +35,6 @@ use crate::{
expressions::Column,
expressions::PhysicalSortExpr,
hash_utils::create_hashes,
joins::hash_join_utils::{JoinHashMap, JoinHashMapType},
joins::utils::{
adjust_right_output_partitioning, build_join_schema, check_join_is_valid,
estimate_join_statistics, partitioned_join_output_partitioning,
Expand Down
2 changes: 1 addition & 1 deletion datafusion/physical-plan/src/joins/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pub use sort_merge_join::SortMergeJoinExec;
pub use symmetric_hash_join::SymmetricHashJoinExec;
mod cross_join;
mod hash_join;
mod hash_join_utils;
mod nested_loop_join;
mod sort_merge_join;
mod stream_join_utils;
mod symmetric_hash_join;
pub mod utils;

Expand Down
Loading

0 comments on commit 2156dde

Please sign in to comment.