MCPcopy Create free account
hub / github.com/apache/arrow-rs / pack_dictionary

Function pack_dictionary

parquet/src/arrow/array_reader/primitive_array.rs:423–428  ·  view source on GitHub ↗
(key: &ArrowType, values: &dyn Array)

Source from the content-addressed store, hash-verified

421}
422
423fn pack_dictionary(key: &ArrowType, values: &dyn Array) -> Result<ArrayRef> {
424 downcast_integer! {
425 key => (pack_dictionary_helper, values),
426 _ => unreachable!("Invalid key type"),
427 }
428}
429
430fn pack_dictionary_impl<K: ArrowDictionaryKeyType, V: ArrowPrimitiveType>(
431 values: &PrimitiveArray<V>,

Callers 1

coerce_arrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected