Skip to content

Add a RLE array exporter to duckdb #8247

@joseph-isaacs

Description

@joseph-isaacs

Currently we can only export RunEnd to duckdb add a RLE exporter which is actually quicker to export to a duckdb dict.

    let array = match array.try_downcast::<RunEnd>() {
        Ok(array) => return run_end::new_exporter_with_flatten(array, cache, ctx, flatten),
        Err(array) => array,
    };

+   let array = match array.try_downcast::<RLE>() {
+       Ok(array) => return rle::new_exporter(array, cache, ctx),
+       Err(array) => array,
+   };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions