ORC-1939: set TimestampColumnVector isUTC flag in TimestampFromXXXTreeReader
What changes were proposed in this pull request?
TimestampColumnVector isUTC flag should be set based on the reader useUtc flag similar to how TimestampTreeReader sets the flag based on context.getUseUTCTimestamp().
Why are the changes needed?
Correctly reflects whether TimestampColumnVector represents time in local or UTC time zones.
How was this patch tested?
Added new assertions to existing tests
Was this patch authored or co-authored using generative AI tooling?
No
@dongjoon-hyun Please review
Could you add a new minimal test case outside TestSchemaEvolution
Sorry, I don't follow. It will duplicate TestSchemaEvolution. Note that the fix only affects schema evolution use cases.
Since schema evolution is a tricky area, I'll keep this in main for a while.
BTW, thank you, @vrozov , @wgtmac , @ffacs .
I backported this to branch-2.2 for Apache ORC 2.2.0.
cc @williamhyun