polars_parquet::arrow::write

Function array_to_page_simple

Source
pub fn array_to_page_simple(
    array: &dyn Array,
    type_: PrimitiveType,
    options: WriteOptions,
    encoding: Encoding,
) -> PolarsResult<Page>
Expand description

Converts an Array to a CompressedPage based on options, descriptor and encoding.