comphead commented on issue #11555:
URL: https://github.com/apache/datafusion/issues/11555#issuecomment-2274740798

   Attached more accurate test case 
   ```
   #[tokio::test]
   async fn test_cross() {
       let left: Vec<RecordBatch> = make_staggered_batches(1);
   
       let left = vec![
           RecordBatch::new_empty(left[0].schema().clone()),
           RecordBatch::try_new(
               left[0].schema().clone(),
               vec![
                   Arc::new(Int32Array::from(vec![0, 0, 1, 1])),
                   Arc::new(Int32Array::from(vec![1, 2, 3, 4])),
                   Arc::new(Int32Array::from(vec![1001, 1002, 1003, 1004])),
                   Arc::new(Int32Array::from(vec![10011, 10021, 10031, 10051])),
               ],
           ).unwrap()
       ];
   
       let right = vec![
           RecordBatch::try_new(
               left[0].schema().clone(),
               vec![
                   Arc::new(Int32Array::from(vec![0, 0, 0, 1, 1, 1])),
                   Arc::new(Int32Array::from(vec![1, 2, 3, 1, 2, 3])),
                   Arc::new(Int32Array::from(vec![2001, 2002, 2003, 2004, 2005, 
2006])),
                   Arc::new(Int32Array::from(vec![20011, 20021, 20031, 20041, 
20051, 20061])),
               ],
           ).unwrap(),
           RecordBatch::try_new(
               left[0].schema().clone(),
               vec![
                   Arc::new(Int32Array::from(vec![1, 1, 1, 1, 2, 2, 2])),
                   Arc::new(Int32Array::from(vec![3, 3, 4, 5, 6, 7, 8])),
                   Arc::new(Int32Array::from(vec![3000, 3001, 3002, 3003, 3004, 
3005, 3006])),
                   Arc::new(Int32Array::from(vec![30001, 30011, 30021, 30031, 
30041, 30051, 30061])),
               ],
           ).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

Reply via email to