james-willis opened a new pull request, #1113: URL: https://github.com/apache/sedona-db/pull/1113
Implements #897: makes the raster type/trait/impl capable of creating, storing, and reading non-identity band views (slices, broadcasts, axis permutations, reverse/negative-step). - **Store** (`builder.rs`): `start_band_with_view` persists a non-identity view into the existing `band_view_*` columns; identity stays the canonical null sentinel. New public `with_view` composes a view delta onto an existing band. - **Read** (`array.rs`): `band()` decodes the stored view and composes it onto the source's C-order byte strides (visible shape, byte strides, offset), with overflow + data-buffer bounds checks. `as_contiguous()` still borrows a packed layout and errors on a strided one. - **Trait** (`traits.rs`): `copy_into` now persists a composed non-identity view instead of rejecting it. No schema change was needed (the `band_view_*` columns already exist). No RS_ UDF creates a view here — `RS_EnsureContiguous`, the optimizer rule that injects it, and migrating RS_ functions to produce lazy views are follow-ups. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
