You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zclllyybb (via GitHub)" <gi...@apache.org> on 2025/05/28 14:22:24 UTC
[PR] [Fix-3.0](column) Fix wrong nullmap initialization [doris]
zclllyybb opened a new pull request, #51339:
URL: https://github.com/apache/doris/pull/51339
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
before:
```sql
mysql> select unix_timestamp(from_unixtime(unix_timestamp(k2)), 'yyyy-MM-dd HH:mm:ss') from tblx;
+--------------------------------------------------------------------------+
| unix_timestamp(from_unixtime(unix_timestamp(k2)), 'yyyy-MM-dd HH:mm:ss') |
+--------------------------------------------------------------------------+
| 0.000000 |
| 1665331200.000000 |
| 1696906811.000000 |
| 0.000000 |
+--------------------------------------------------------------------------+
```
after:
```sql
mysql> select unix_timestamp(from_unixtime(unix_timestamp(k2)), 'yyyy-MM-dd HH:mm:ss') as ans from tblx;
+-------------------+
| ans |
+-------------------+
| NULL |
| 1665331200.000000 |
| 1696906811.000000 |
| NULL |
+-------------------+
```
### Release note
Fix the issue where some functions' result's nullity wrong
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [x] 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:
- [x] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [x] 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] [Fix-3.0](column) Fix wrong nullmap initialization [doris]
Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on PR #51339:
URL: https://github.com/apache/doris/pull/51339#issuecomment-2916552260
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] [branch-3.0](column) Fix wrong nullmap initialization #51340 [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #51339:
URL: https://github.com/apache/doris/pull/51339#issuecomment-2921196900
PR approved by at least one committer and no changes requested.
--
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] [branch-3.0](column) Fix wrong nullmap initialization #51340 [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #51339:
URL: https://github.com/apache/doris/pull/51339#issuecomment-2921196944
PR approved by anyone and no changes requested.
--
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] [branch-3.0](column) Fix wrong nullmap initialization #51340 [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #51339:
URL: https://github.com/apache/doris/pull/51339#issuecomment-2916976500
# BE UT Coverage Report
Increment line coverage `30.00% (3/10)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/9d2a4f1dbe1afc27d3af586796d1de57ba565b66_9d2a4f1dbe1afc27d3af586796d1de57ba565b66/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/9d2a4f1dbe1afc27d3af586796d1de57ba565b66_9d2a4f1dbe1afc27d3af586796d1de57ba565b66/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 41.09% (10866/26444) |
| Line Coverage | 31.93% (92919/291007) |
| Region Coverage | 31.02% (47932/154532) |
| Branch Coverage | 27.50% (24554/89300) |
--
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] [branch-3.0](column) Fix wrong nullmap initialization #51340 [doris]
Posted by "dataroaring (via GitHub)" <gi...@apache.org>.
dataroaring merged PR #51339:
URL: https://github.com/apache/doris/pull/51339
--
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] [branch-3.0](column) Fix wrong nullmap initialization #51340 [doris]
Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on PR #51339:
URL: https://github.com/apache/doris/pull/51339#issuecomment-2916643211
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] [Fix-3.0](column) Fix wrong nullmap initialization [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #51339:
URL: https://github.com/apache/doris/pull/51339#issuecomment-2916545833
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