comphead commented on PR #12082: URL: https://github.com/apache/datafusion/pull/12082#issuecomment-2299877846
To create a reproduce test its needed to run a test in debug mode ``` async fn test_anti_join_1k_filtered() { // NLJ vs HJ gives wrong result // Tracked in https://github.com/apache/datafusion/issues/11537 for i in 0..1000 { JoinFuzzTestCase::new( make_staggered_batches(1000), make_staggered_batches(1000), JoinType::LeftAnti, Some(Box::new(col_lt_col_filter)), ) .run_test(&[JoinTestType::HjSmj], true) .await } } ``` the test creates a dump of data locally to the disk. for example `fuzz_test_debug/batch_size_7` The test below is a reproduce case(just set the paths) which step 1 outputs ``` #[tokio::test] async fn test1() { let left: Vec<RecordBatch> = JoinFuzzTestCase::load_partitioned_batches_from_parquet( "fuzz_test_debug/batch_size_7/input1", ) .await .unwrap(); let right: Vec<RecordBatch> = JoinFuzzTestCase::load_partitioned_batches_from_parquet( "fuzz_test_debug/batch_size_7/input2", ) .await .unwrap(); JoinFuzzTestCase::new( left, right, JoinType::LeftAnti, Some(Box::new(col_lt_col_filter)), ) .run_test(&[JoinTestType::HjSmj], false) .await; } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org