vortex icon indicating copy to clipboard operation
vortex copied to clipboard

SequenceArray cannot cast to a narrower type

Open danking opened this issue 1 month ago • 0 comments

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

danking avatar Oct 28 '25 18:10 danking