Skip to content

Conversation

@amorynan
Copy link
Contributor

What problem does this PR solve?

if we use ipv6_cidr_to_range function with nullable func which with invalid ipv6 will make be core

mysql> select id, ipv6_cidr_to_range(nullable(''), 32) from fn_test_ip_nullable order by id;

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 -->

@doris-robot
Copy link

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?

@amorynan
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.34% (9974/26017)
Line Coverage: 29.42% (83488/283780)
Region Coverage: 28.57% (42983/150449)
Branch Coverage: 25.18% (21827/86698)
Coverage Report: http://coverage.selectdb-in.cc/coverage/c01b79bf8c161b710e3528d983e94445ec0b8d55_c01b79bf8c161b710e3528d983e94445ec0b8d55/report/index.html

zhangstar333
zhangstar333 previously approved these changes Nov 28, 2024
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Nov 28, 2024
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Nov 30, 2024
@amorynan
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.37% (9981/26014)
Line Coverage: 29.43% (83568/283994)
Region Coverage: 28.55% (43001/150621)
Branch Coverage: 25.17% (21847/86794)
Coverage Report: http://coverage.selectdb-in.cc/coverage/96f60c30bcf9ac7c11ce70cbd247104a46fcbac1_96f60c30bcf9ac7c11ce70cbd247104a46fcbac1/report/index.html

HappenLee
HappenLee previously approved these changes Dec 2, 2024
Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should delete the useless code of ColumnString

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2024

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

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 2, 2024
@amorynan
Copy link
Contributor Author

amorynan commented Dec 2, 2024

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Dec 2, 2024
Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 2, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2024

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

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 38.39% (9978/25989)
Line Coverage: 29.45% (83651/284032)
Region Coverage: 28.58% (43042/150605)
Branch Coverage: 25.20% (21883/86832)
Coverage Report: http://coverage.selectdb-in.cc/coverage/6c3d290e792adc3ce3df51047c03db0c5a7d9fbc_6c3d290e792adc3ce3df51047c03db0c5a7d9fbc/report/index.html

@HappenLee HappenLee merged commit 702ca90 into apache:master Dec 3, 2024
16 of 17 checks passed
amorynan pushed a commit to amorynan/doris that referenced this pull request Jan 2, 2025
if we use ipv6_cidr_to_range function with nullable func which with
invalid ipv6 will make be core
```
mysql> select id, ipv6_cidr_to_range(nullable(''), 32) from fn_test_ip_nullable order by id;
```
amorynan pushed a commit to amorynan/doris that referenced this pull request Jan 2, 2025
if we use ipv6_cidr_to_range function with nullable func which with
invalid ipv6 will make be core
```
mysql> select id, ipv6_cidr_to_range(nullable(''), 32) from fn_test_ip_nullable order by id;
```
HappenLee pushed a commit that referenced this pull request Jan 3, 2025
if we use ipv6_cidr_to_range function with nullable func which with
invalid ipv6 will make be core
```
mysql> select id, ipv6_cidr_to_range(nullable(''), 32) from fn_test_ip_nullable order by id;
```

### What problem does this PR solve?


Related PR: #44700
yiguolei pushed a commit that referenced this pull request Jan 3, 2025
if we use ipv6_cidr_to_range function with nullable func which with
invalid ipv6 will make be core
```
mysql> select id, ipv6_cidr_to_range(nullable(''), 32) from fn_test_ip_nullable order by id;
```
@gavinchou gavinchou mentioned this pull request Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.1.8-merged dev/3.0.4-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants