Skip to content

[feature](nereids)support 'isNull' expression - #14967

Merged
morrySnow merged 1 commit into
apache:masterfrom
englefly:isnull
Dec 12, 2022
Merged

[feature](nereids)support 'isNull' expression#14967
morrySnow merged 1 commit into
apache:masterfrom
englefly:isnull

Conversation

@englefly

Copy link
Copy Markdown
Contributor

Proposed changes

let nereids support sql like:
select * from t where isnull(k1)

Issue Number: close #xxx

Problem summary

Describe your changes.

Checklist(Required)

  1. Does it affect the original behavior:
    • Yes
    • No
    • I don't know
  2. Has unit tests been added:
    • Yes
    • No
    • No Need
  3. Has document been added or modified:
    • Yes
    • No
    • No Need
  4. Does it need to update dependencies:
    • Yes
    • No
  5. Are there any changes that cannot be rolled back:
    • Yes (If Yes, please explain WHY)
    • No

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@hello-stephen

Copy link
Copy Markdown
Contributor

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.72 seconds
load time: 471 seconds
storage size: 17123356312 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221209112324_clickbench_pr_61063.html

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Dec 12, 2022
@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@morrySnow
morrySnow merged commit a5a092a into apache:masterDec 12, 2022
morrySnow added a commit that referenced this pull request May 26, 2026
### What problem does this PR solve?
related PR #14967#15163
Problem Summary:
The following SQL should have been executable, but it resulted in an
unexpected error.
```sql
select * from t
where
isNull(c1) = 1; ```
the error message is
```
Can not found function 'isNull'
```
zhaorongsheng pushed a commit to zhaorongsheng/doris that referenced this pull request Jun 4, 2026
### What problem does this PR solve?
related PR apache#14967apache#15163
Problem Summary:
The following SQL should have been executable, but it resulted in an
unexpected error.
```sql
select * from t
where
isNull(c1) = 1; ```
the error message is
```
Can not found function 'isNull'
```
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.area/nereidsreviewed

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

@englefly@hello-stephen@morrySnow