Skip to content

Commit

Permalink
switch dictionary array to i32, as per #7383
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Sep 10, 2024
1 parent bbff7dc commit 9bffb2c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub(crate) enum ComponentData {
Null,
ListArray(ArrowListArray<i32>),
DictionaryArray {
dict: ArrowDictionaryArray<u32>,
dict: ArrowDictionaryArray<i32>,
values: ArrowListArray<i32>,
},
}
Expand All @@ -55,10 +55,10 @@ impl ComponentData {
.expect("sanity checked")
.clone(),
)),
DataType::Dictionary(IntegerType::UInt32, _, _) => {
DataType::Dictionary(IntegerType::Int32, _, _) => {
let dict = column_data
.as_any()
.downcast_ref::<ArrowDictionaryArray<u32>>()
.downcast_ref::<ArrowDictionaryArray<i32>>()
.expect("sanity checked")
.clone();
let values = dict
Expand Down

0 comments on commit 9bffb2c

Please sign in to comment.