Skip to main content

sparse_to_dense

Function sparse_to_dense 

Source
pub fn sparse_to_dense(
    tile: &SparseTile,
    schema: &ArraySchema,
) -> ArrayResult<DenseTile>
Expand description

Convert a sparse tile to a dense tile by materialising every cell.

Cells absent in the sparse payload become CellValue::Null. The caller is responsible for the integer-only-dim precondition (dense indexing relies on integer cell offsets) — this is enforced because non-Int64/TimestampMs dims do not have well-defined tile_extent semantics in dense layout.