Skip to content

HIVE-29760: Improve SEARCH expansion to exploit NOT_BETWEEN operator - #6634

Open
rubenada wants to merge 3 commits into
apache:masterfrom
rubenada:HIVE-29760
Open

HIVE-29760: Improve SEARCH expansion to exploit NOT_BETWEEN operator#6634
rubenada wants to merge 3 commits into
apache:masterfrom
rubenada:HIVE-29760

Conversation

@rubenada

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Improve SEARCH expansion to exploit NOT_BETWEEN operator

Why are the changes needed?

Generate a simpler expression in search expansion using NOT_BETWEEN, e.g. x NOT BETWEEN 10, 20 vs the current x < 10 OR x > 20

Does this PR introduce any user-facing change?

No

How was this patch tested?

New unit tests added

Comment thread ql/src/test/results/clientpositive/llap/join34.q.out Outdated
@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants