Skip to content

Commit 40bea15

Browse files
author
B Vadlamani
committed
rebase_main
1 parent 1c773e1 commit 40bea15

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

datafusion/physical-plan/src/joins/hash_join/exec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ use crate::{
6565
metrics::{ExecutionPlanMetricsSet, MetricsSet},
6666
};
6767

68-
use arrow::array::{Array, ArrayRef, BooleanBufferBuilder, Int16Array, Int32Array, UInt32Array};
68+
use arrow::array::{Array, ArrayRef, BooleanBufferBuilder, Int32Array, UInt32Array};
6969
use arrow::compute::concat_batches;
7070
use arrow::datatypes::SchemaRef;
7171
use arrow::record_batch::RecordBatch;
@@ -2008,7 +2008,7 @@ async fn collect_left_input(
20082008
.unwrap()
20092009
.values()
20102010
.iter()
2011-
.map(|&v| v as u32)
2011+
.map(|&v| v)
20122012
.collect(),
20132013
DataType::Int32 => key_col
20142014
.as_any()

datafusion/physical-plan/src/joins/hash_join/stream.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,8 @@ impl HashJoinStream {
745745
}
746746
};
747747
let indices = UInt32Array::from(right_indices);
748-
let columns: Vec<ArrayRef> = state.batch
748+
let columns: Vec<ArrayRef> = state
749+
.batch
749750
.columns()
750751
.iter()
751752
.map(|col| arrow::compute::take(col, &indices, None))

0 commit comments

Comments
 (0)