Skip to content

[fix](inverted index) Fix errors caused by enable_need_read_data_opt (#42064) - #42362

Merged
airborne12 merged 3 commits into
apache:branch-2.0from
csun5285:pick_42064_to_upstream_branch-2.0
Oct 24, 2024
Merged

[fix](inverted index) Fix errors caused by enable_need_read_data_opt (#42064)#42362
airborne12 merged 3 commits into
apache:branch-2.0from
csun5285:pick_42064_to_upstream_branch-2.0

Conversation

@csun5285

Copy link
Copy Markdown
Contributor

Proposed changes

pick from master #42064

…pache#42064)
## Proposed changes
In the current backend implementation, it is not correctly handle counts
when `is null` predicate exists, so we forbid the storage layer's count
currently.
for example:
```
select count(b) from test where b is null ```
When apply the is null filter, the result array will fill the default
value of the column type and the count operator can not detect whether
the result is null, so the count operator compute the wrong result.
@doris-robot

Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@csun5285

Copy link
Copy Markdown
ContributorAuthor

run buildall

@csun5285

Copy link
Copy Markdown
ContributorAuthor

run buildall

@csun5285

Copy link
Copy Markdown
ContributorAuthor

run buildall

@airborne12airborne12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Oct 24, 2024
@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.

@airborne12
airborne12 merged commit ea07a39 into apache:branch-2.0Oct 24, 2024
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/nereidskind/testreviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@csun5285@doris-robot@airborne12