Skip to content

Commit

Permalink
Move Left/LeftAnti filtered SMJ join out of join partial stage
Browse files Browse the repository at this point in the history
  • Loading branch information
comphead committed Oct 18, 2024
1 parent ea80038 commit 227ab72
Show file tree
Hide file tree
Showing 3 changed files with 634 additions and 622 deletions.
8 changes: 3 additions & 5 deletions datafusion/core/tests/fuzz_cases/join_fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ async fn test_anti_join_1k() {
#[tokio::test]
// flaky for HjSmj case, giving 1 rows difference sometimes
// https://github.com/apache/datafusion/issues/11555
#[ignore]
async fn test_anti_join_1k_filtered() {
JoinFuzzTestCase::new(
make_staggered_batches(1000),
Expand Down Expand Up @@ -513,14 +514,11 @@ impl JoinFuzzTestCase {
"input2",
);

if join_tests.contains(&JoinTestType::NljHj)
&& join_tests.contains(&JoinTestType::NljHj)
&& nlj_rows != hj_rows
{
if join_tests.contains(&JoinTestType::NljHj) && nlj_rows != hj_rows {
println!("=============== HashJoinExec ==================");
hj_formatted_sorted.iter().for_each(|s| println!("{}", s));
println!("=============== NestedLoopJoinExec ==================");
smj_formatted_sorted.iter().for_each(|s| println!("{}", s));
nlj_formatted_sorted.iter().for_each(|s| println!("{}", s));

Self::save_partitioned_batches_as_parquet(
&nlj_collected,
Expand Down
Loading

0 comments on commit 227ab72

Please sign in to comment.