Closed kazuyukitanimura closed 2 days ago
Closes https://github.com/apache/datafusion-comet/issues/1067
Bug fix. A few expressions were failing some unsigned type related tests
u8
u16
generate_cast_to_signed!
u64
Decimal(20, 0)
round()
>
>=
Put back tests for unsigned types
Merged, thanks @andygrove @viirya
Which issue does this PR close?
Closes https://github.com/apache/datafusion-comet/issues/1067
Rationale for this change
Bug fix. A few expressions were failing some unsigned type related tests
What changes are included in this PR?
u8
/u16
, switched to usegenerate_cast_to_signed!
in order to copy full i16/i32 width instead of padding zeros in the higher bitsu64
becomesDecimal(20, 0)
but there was a bug inround()
(>
vs>=
)How are these changes tested?
Put back tests for unsigned types