We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bfb8ac commit 960ebc8Copy full SHA for 960ebc8
datafusion-postgres/src/datatypes.rs
@@ -348,13 +348,7 @@ fn encode_value(
348
},
349
350
DataType::List(field) | DataType::FixedSizeList(field, _) | DataType::LargeList(field) => {
351
- // Extract the inner type, handling dictionaries by getting the value type
352
- let field_type = match field.data_type() {
353
- DataType::Dictionary(_, value_type) => value_type.as_ref(),
354
- data_type => data_type,
355
- };
356
-
357
- match field_type {
+ match field.data_type() {
358
DataType::Null => encoder.encode_field(&None::<i8>)?,
359
DataType::Boolean => encoder.encode_field(&get_bool_list_value(arr, idx))?,
360
DataType::Int8 => encoder.encode_field(&get_i8_list_value(arr, idx))?,
0 commit comments