Expand description
Re-bucket cells into a different tile-extent layout.
The same schema may be re-tiled (different tile_extents) for a
query that needs a different access pattern — e.g. a slice along
one axis benefits from longer extents on that axis. Rechunk takes
a single source tile and emits the (possibly multiple) target
tiles that contain its cells.
Both source and target schemas must share name, dim arity, attrs
and dim domains; only tile_extents may differ. The caller is
responsible for that constraint — this is a pure re-bucket.
Functions§
- rechunk_
sparse - Re-bucket every cell in
tileaccording totarget_schema.tile_extents. Returns one entry per resulting target tile, ordered byTileId.