rebase_to_zero

Function rebase_to_zero 

Source
fn rebase_to_zero(column: &ArrayRef) -> Option<ArrayRef>
Expand description

Subtract a UInt32 column’s first value from every value. checked_sub rather than -: on a foreign blob whose offsets are not non-decreasing this would panic in debug and, with the release profile’s overflow-checks = false, WRAP to a ~4-billion offset that decodes as valid geometry. None instead sends the caller to its fallback.