Skip to main content

expand_ree_array

Function expand_ree_array 

Source
fn expand_ree_array(array: &ArrayRef) -> Result<ArrayRef>
Expand description

Expands a [DataType::RunEndEncoded] array into a flat (logical) array of its values type.

use arrow_select::take to materialize the full-length flat array. This is intentionally simple (O(n)); efficiency can/should be improved