You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "jacktengg (via GitHub)" <gi...@apache.org> on 2025/12/26 07:49:58 UTC
[PR] [feature](type)support timestamptz type (#56646) [doris]
jacktengg opened a new pull request, #59399:
URL: https://github.com/apache/doris/pull/59399
https://github.com/apache/doris-website/pull/2962
TIMESTAMPTZ implementation does not store time zone information with each row of data, but instead adopts the following mechanism:
1. During storage: All input time values are converted to UTC (Coordinated Universal Time)
2. During query: Based on the session's time zone setting (specified via the `time_zone` variable), UTC time is automatically converted to the corresponding time zone for display
Therefore, TIMESTAMPTZ can be understood as a DATETIME type with time zone conversion functionality, where Doris automatically handles time zone conversions internally.
None
- Test <!-- At least one of them must be included. -->
- [x] Regression test
- [x] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [x] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [x] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
---------
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3693171906
# FE UT Coverage Report
Increment line coverage ` 19.54% (77/394)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/59399_5a4fb59c22396a19ec2ea7535c0804c85e45a218/fe_increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/59399_5a4fb59c22396a19ec2ea7535c0804c85e45a218/fe_report/index.html)
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "jacktengg (via GitHub)" <gi...@apache.org>.
jacktengg commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3692393858
run buildall
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #59399:
URL: https://github.com/apache/doris/pull/59399
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "jacktengg (via GitHub)" <gi...@apache.org>.
jacktengg commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3693085118
run buildall
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3693118182
# Cloud UT Coverage Report
Increment line coverage ` ` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/5a4fb59c22396a19ec2ea7535c0804c85e45a218_5a4fb59c22396a19ec2ea7535c0804c85e45a218_cloud/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/5a4fb59c22396a19ec2ea7535c0804c85e45a218_5a4fb59c22396a19ec2ea7535c0804c85e45a218_cloud/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 82.10% (1573/1916) |
| Line Coverage | 67.11% (28068/41824) |
| Region Coverage | 67.63% (13815/20426) |
| Branch Coverage | 58.01% (7358/12684) |
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3692520623
# FE UT Coverage Report
Increment line coverage ` 19.54% (77/394)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/59399_bd9c5921b39468aa6acd83e73f0c4301f04b1262/fe_increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/59399_bd9c5921b39468aa6acd83e73f0c4301f04b1262/fe_report/index.html)
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3692455301
# Cloud UT Coverage Report
Increment line coverage ` ` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/bd9c5921b39468aa6acd83e73f0c4301f04b1262_bd9c5921b39468aa6acd83e73f0c4301f04b1262_cloud/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/bd9c5921b39468aa6acd83e73f0c4301f04b1262_bd9c5921b39468aa6acd83e73f0c4301f04b1262_cloud/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 82.10% (1573/1916) |
| Line Coverage | 67.11% (28069/41824) |
| Region Coverage | 67.58% (13803/20426) |
| Branch Coverage | 58.04% (7362/12684) |
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "Thearas (via GitHub)" <gi...@apache.org>.
Thearas commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3692393167
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
Please clearly describe your PR:
1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
3. What features were added. Why was this function added?
4. Which code was refactored and why was this part of the code refactored?
5. Which functions were optimized and what is the difference before and after the optimization?
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](type)support timestamptz type (#56646) [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #59399:
URL: https://github.com/apache/doris/pull/59399#issuecomment-3693233236
# BE UT Coverage Report
Increment line coverage `57.24% (692/1209)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/5a4fb59c22396a19ec2ea7535c0804c85e45a218_5a4fb59c22396a19ec2ea7535c0804c85e45a218/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/5a4fb59c22396a19ec2ea7535c0804c85e45a218_5a4fb59c22396a19ec2ea7535c0804c85e45a218/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 53.34% (18663/34988) |
| Line Coverage | 39.10% (172830/442002) |
| Region Coverage | 33.77% (133560/395454) |
| Branch Coverage | 34.75% (57743/166148) |
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org