vortex
vortex copied to clipboard
SequenceArray cannot cast to a narrower type
Describe the bug
The sequence array [30, 20, 10, 0] should be castable to u8, but it is not because its multiplier is -10.
Sequence Array should use one PType for calculation and a different PType for the return value.
See also: https://github.com/vortex-data/vortex/pull/5101
To Reproduce
No response
Expected behavior
No response
Additional context
No response