Uh oh!
There was an error while loading. Please reload this page.
[echcement](hive)support read hive table that change timestamp column to bigint. - #52954
Conversation
Thearas
commented
Jul 8, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
hubgeter
commented
Jul 8, 2025
run buildall |
doris-robot
commented
Jul 8, 2025
TPC-H: Total hot run time: 33513 ms |
doris-robot
commented
Jul 8, 2025
TPC-DS: Total hot run time: 186290 ms |
doris-robot
commented
Jul 8, 2025
ClickBench: Total hot run time: 30.1 s |
hubgeter
commented
Jul 8, 2025
run buildall |
doris-robot
commented
Jul 8, 2025
TPC-H: Total hot run time: 33266 ms |
doris-robot
commented
Jul 8, 2025
TPC-DS: Total hot run time: 186287 ms |
doris-robot
commented
Jul 8, 2025
ClickBench: Total hot run time: 29.42 s |
doris-robot
commented
Jul 8, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
| auto& dst_value = reinterpret_cast<DstCppType&>(data[start_idx + i]); | ||
| int64_t ts_s = 0; | ||
| if (!src_value.unix_timestamp(&ts_s, cctz::utc_time_zone())) { |
There was a problem hiding this comment.
Do we need to consider the timestamp with timezone?
There was a problem hiding this comment.
No need. Timezone conversion should be handled during the conversion from the Parquet physical type (int64) to the Parquet logical type (timestamp). Ref : struct Int64ToTimestamp : public PhysicalToLogicalConverter
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
… to bigint. (apache#52954) Related PR: apache#47471 Problem Summary: This pr is a supplement to apache#47471. This pr is used to support reading hive tables that convert timestamp columns to bigint columns and display them in `ms` precision. (parquet/orc hive table.)
… to bigint. (apache#52954) Related PR: apache#47471 Problem Summary: This pr is a supplement to apache#47471. This pr is used to support reading hive tables that convert timestamp columns to bigint columns and display them in `ms` precision. (parquet/orc hive table.)
What problem does this PR solve?
Related PR: #47471
Problem Summary:
This pr is a supplement to #47471.
This pr is used to support reading hive tables that convert timestamp columns to bigint columns and display them in
msprecision. (parquet/orc hive table.)Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)