apache / orc

Apache ORC - the smallest, fastest columnar storage for Hadoop workloads
https://orc.apache.org/
Apache License 2.0
682 stars 481 forks source link

ORC-1675: [C++] Print decimal values as strings #1876

Closed ffacs closed 6 months ago

ffacs commented 6 months ago

What changes were proposed in this pull request?

Makes orc-contents print decimals as strings and trim trailing zeros.

Why are the changes needed?

To make the behavior of orc-contents and orc-tools the same.

How was this patch tested?

UT passed.

Was this patch authored or co-authored using generative AI tooling?

No