comphead commented on issue #12359:
URL: https://github.com/apache/datafusion/issues/12359#issuecomment-2345068928
Simple test case for LeftOuter
```
#[tokio::test]
async fn test_left_outer() {
let left: Vec<RecordBatch> = make_staggered_batches(1);
let left = vec![
RecordBatch::try_new(
left[0].schema().clone(),
vec![
Arc::new(Int32Array::from(vec![1])),
Arc::new(Int32Array::from(vec![2])),
Arc::new(Int32Array::from(vec![10])),
Arc::new(Int32Array::from(vec![20])),
],
).unwrap()
];
let right = vec![
RecordBatch::try_new(
left[0].schema().clone(),
vec![
Arc::new(Int32Array::from(vec![1, 1])),
Arc::new(Int32Array::from(vec![2, 2])),
Arc::new(Int32Array::from(vec![0, 30])),
Arc::new(Int32Array::from(vec![0, 40])),
],
).unwrap()
];
JoinFuzzTestCase::new(
left,
right,
JoinType::Left,
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]