Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve](array-funcs) accelerate arrays_overlap by inverted index (#41161) #41286

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

amorynan
Copy link
Contributor

support arrays_overlap with invertedIndex

Proposed changes

Issue Number: close #xxx

Proposed changes

Issue Number: close #xxx

…he#41161)

support arrays_overlap with invertedIndex 

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
@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

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

@amorynan
Copy link
Contributor Author

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Member

@airborne12 airborne12 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 Sep 26, 2024
Copy link
Contributor

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

Copy link
Contributor

PR approved by anyone and no changes requested.

@xiaokang xiaokang changed the title [improve](array-funcs)support arrays_overlap with invertedIndex (#41161) [improve](array-funcs) accelerate arrays_overlap by inverted index (#41161) Sep 26, 2024
ColumnPtr arg_column = arguments[0].column;
DataTypePtr arg_type = arguments[0].type;
if ((is_column_nullable(*arg_column) && !is_column_const(*remove_nullable(arg_column))) ||
!is_column_const(*arg_column)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

logic error: if arg_column is nullable , it's always true.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done !

be/src/vec/functions/array/function_arrays_overlap.h Outdated Show resolved Hide resolved
@amorynan
Copy link
Contributor Author

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@dataroaring dataroaring merged commit d5e1026 into apache:branch-3.0 Sep 29, 2024
20 of 28 checks passed
dataroaring added a commit that referenced this pull request Sep 30, 2024
amorynan added a commit to amorynan/doris that referenced this pull request Oct 18, 2024
yiguolei pushed a commit that referenced this pull request Oct 18, 2024
)

## Proposed changes
backport : #41286
#41495
Issue Number: close #xxx

<!--Describe your changes.-->
eldenmoon pushed a commit to eldenmoon/incubator-doris that referenced this pull request Nov 12, 2024
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.7-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants