[Enhancement-3.0](type) Support cast between time and datetime#53734
[Enhancement-3.0](type) Support cast between time and datetime#53734dataroaring merged 3 commits intoapache:branch-3.0from
Conversation
In the past, we did not support time cast to datetime/date.
Here we add the support because time cast to date involves the current
date, so most of the tests are BEUT.
1. Support casting the time type to date/datetime.
2. The time type can be implicitly converted to date/datetime.
None
- Test <!-- At least one of them must be included. -->
- [ ] 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?
- [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
|
run buildall |
aeada59 to
40d1d12
Compare
|
run buildall |
TPC-H: Total hot run time: 40070 ms |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
TPC-DS: Total hot run time: 196165 ms |
ClickBench: Total hot run time: 30.07 s |
FE UT Coverage ReportIncrement line coverage |
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
TPC-H: Total hot run time: 39815 ms |
TPC-DS: Total hot run time: 198260 ms |
ClickBench: Total hot run time: 30.72 s |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
e10f283 to
b5da18c
Compare
|
run buildall |
b5da18c to
2a930da
Compare
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 39811 ms |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
TPC-DS: Total hot run time: 197298 ms |
ClickBench: Total hot run time: 29.87 s |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
Support cast between time and datetime
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)