OIiveirra opened a new pull request, #67834:
URL: https://github.com/apache/doris/pull/67834
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Loading Parquet timestamps before the Unix epoch with
fractional seconds could produce a negative subsecond component. Its conversion
to an unsigned value then corrupted the timestamp, yielding NULL or a 1970
value. Normalize the quotient and remainder with floor semantics before
constructing the timestamp.
### Release note
Fix loading pre-epoch Parquet timestamps that contain fractional seconds.
### Check List (For Author)
- Test: Unit Test / Regression test
- Ran 4 focused Parquet timestamp conversion BE unit tests
- Ran test_outfile_parquet regression suite against a local FE/BE
cluster, including exact values for five pre-epoch timestamps
- Behavior changed: Yes (pre-epoch Parquet timestamps with fractional
seconds are decoded correctly)
- Does this need documentation: No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]