Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
ghx-label-3
Description
Currently Impala converts from sub-second unix time to TimestampValue (which is split do date_ and time_ similarly to boost::posix_time::ptime ) by first splitting the input into seconds and sub-seconds part, converting the seconds part with boost::posix_time::from_time_t(), and then adding the sub-seconds part to this timestamp. This can be done much faster by splitting the sub-second input into date_ and time_ directly.
Avoiding boost::posix_time::from_time_t() would be also nice because it can only deal with timestamps from 1677 to 2262, which adds extra complexity to the related code.
Attachments
Attachments
Issue Links
- is a clone of
-
IMPALA-7417 Hit DCHECK in Parquet fuzz test (duplicate)
- Resolved
- is related to
-
IMPALA-7595 Check failed: IsValidTime(time_) at timestamp-value.h:322
- Resolved
-
IMPALA-8268 Speed up TimestampValue->sub-second unix time conversions
- Open
- relates to
-
IMPALA-5050 Add support to read TIMESTAMP_MILLIS and TIMESTAMP_MICROS to the parquet scanner
- Resolved