pub fn large_ints_to_binary(data: &RecordBatch) -> Result<RecordBatch>Expand description
Converts large-integer Decimal columns (Decimal256(_, 0) and
Decimal128(_, 0)) to fixed-width big-endian two’s-complement binary
(32 bytes and 16 bytes respectively). Other columns pass through unchanged.
Produces the same byte representation as evm-decode’s large_int_as_binary
mode, so a Decimal-shaped batch and a binary-shaped batch can be compared
after applying this cast.