apache / orc

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

ORC-1390: [C++] Support schema evolution from string group to decimal/timestamp #1949

Open ffacs opened 1 month ago

ffacs commented 1 month ago

What changes were proposed in this pull request?

  1. Support schema evolution from {stirng, char, varchar} to {decimal,timestamp,timestamp_instant}
  2. Fix a bug that cannot convert from varchar to varchar and char to char

Why are the changes needed?

To support Schema evolution at c++ side.

How was this patch tested?

UT passed

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

NO

ffacs commented 1 month ago

strptime and timegm are not c/c++ standard function, maybe I should implement them by myself.