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

Function pack_values

parquet/src/arrow/buffer/dictionary_buffer.rs:237–242  ·  view source on GitHub ↗
(key_type: &ArrowType, values: &ArrayRef)

Source from the content-addressed store, hash-verified

235}
236
237fn pack_values(key_type: &ArrowType, values: &ArrayRef) -> Result<ArrayRef> {
238 downcast_integer! {
239 key_type => (dict_helper, values),
240 _ => unreachable!(),
241 }
242}
243
244fn pack_values_impl<K: ArrowDictionaryKeyType, T: ByteArrayType>(
245 array: &GenericByteArray<T>,

Callers 1

into_arrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected