Skip to content

branch-4.0: [Fix](function) avoid false alarm of some datelike functions #59897 - #59931

Merged
yiguolei merged 1 commit into
branch-4.0from
auto-pick-59897-branch-4.0
Jan 16, 2026
Merged

branch-4.0: [Fix](function) avoid false alarm of some datelike functions #59897#59931
yiguolei merged 1 commit into
branch-4.0from
auto-pick-59897-branch-4.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #59897

join may generate null rows with unspecified nested value. may make some
functions with `use_default_implementation_of_null = true` raise false
positive alarm like `errCode = 2, detailMessage =
(172.20.56.1)[E-218]Operation date_trunc of out of range`.
this fix relates to some functions:
```
date_trunc
last_day
to_monday
unix_timestamp
from_seconds
from_milliseconds
from_microseconds
```
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See 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?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 6.73% (7/104) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage53.41% (18850/35293)
Line Coverage39.26% (175003/445709)
Region Coverage33.88% (135291/399327)
Branch Coverage34.85% (58595/168149)

@yiguolei

Copy link
Copy Markdown
Contributor

skip buildall

@github-actions

Copy link
Copy Markdown
ContributorAuthor

PR approved by at least one committer and no changes requested.

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Jan 16, 2026
@github-actions

Copy link
Copy Markdown
ContributorAuthor

PR approved by anyone and no changes requested.

@yiguolei
yiguolei merged commit a7d727b into branch-4.0Jan 16, 2026
28 of 30 checks passed
@github-actions
github-actionsBot deleted the auto-pick-59897-branch-4.0 branch January 16, 2026 02:39
ybtsdst pushed a commit to ybtsdst/doris that referenced this pull request Feb 27, 2026
…ons apache#59897 (apache#59931)
Cherry-picked from apache#59897
Co-authored-by: zclllyybb <zhaochangle@selectdb.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@hello-stephen@yiguolei@dataroaring@zclllyybb