From 9bffb2cb336eaad62346e9493280bff11f548ec7 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Tue, 10 Sep 2024 09:41:27 +0200 Subject: [PATCH] switch dictionary array to i32, as per #7383 --- .../re_space_view_dataframe/src/display_record_batch.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/viewer/re_space_view_dataframe/src/display_record_batch.rs b/crates/viewer/re_space_view_dataframe/src/display_record_batch.rs index cb477b65707a..9ddc39a66f26 100644 --- a/crates/viewer/re_space_view_dataframe/src/display_record_batch.rs +++ b/crates/viewer/re_space_view_dataframe/src/display_record_batch.rs @@ -35,7 +35,7 @@ pub(crate) enum ComponentData { Null, ListArray(ArrowListArray), DictionaryArray { - dict: ArrowDictionaryArray, + dict: ArrowDictionaryArray, values: ArrowListArray, }, } @@ -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::>() + .downcast_ref::>() .expect("sanity checked") .clone(); let values = dict