Skip to content

[Refactor] Move predicate tree into storage primitive module#74910

Merged
alvin-phoenix-ai merged 1 commit into
StarRocks:mainfrom
alvin-phoenix-ai:opt-format-10
Jun 16, 2026
Merged

[Refactor] Move predicate tree into storage primitive module#74910
alvin-phoenix-ai merged 1 commit into
StarRocks:mainfrom
alvin-phoenix-ai:opt-format-10

Conversation

@alvin-phoenix-ai

Copy link
Copy Markdown
Contributor

Why I'm doing:

What I'm doing:

Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
    • This pr needs auto generate documentation
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 4.1
    • 4.0
    • 3.5

Signed-off-by: alvin-phoenix-ai <alvin.zhao@phoenixdata.ai>
@CelerData-Reviewer

Copy link
Copy Markdown

@codex review

@github-actions github-actions Bot requested review from srlch and trueeyu June 16, 2026 20:20
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 3a214081d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

[BE Incremental Coverage Report]

pass : 331 / 359 (92.20%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 be/src/storage/primitive/column_predicate.h 20 33 60.61% [94, 95, 99, 110, 113, 116, 117, 122, 123, 126, 128, 149, 152]
🔵 be/src/storage/primitive/predicate_tree/predicate_tree.cpp 251 266 94.36% [138, 139, 223, 226, 227, 230, 237, 265, 266, 293, 313, 315, 316, 319, 513]
🔵 be/src/storage/column_predicate_factory.h 9 9 100.00% []
🔵 be/src/storage/primitive/predicate_tree/predicate_tree.hpp 12 12 100.00% []
🔵 be/src/storage/primitive/predicate_tree/predicate_tree.h 39 39 100.00% []

@alvin-phoenix-ai alvin-phoenix-ai merged commit 95b660b into StarRocks:main Jun 16, 2026
52 checks passed
sevev added a commit to sevev/starrocks that referenced this pull request Jun 22, 2026
The storage predicate headers were relocated to storage/primitive/ (StarRocks#74910,
StarRocks#74933) and runtime_range_pruner to compute_env/ on main. After rebasing this
branch onto current main, vector_search_test.cpp still included the old paths
and failed to compile. Repoint the includes to their new locations; no
behavior change.

Signed-off-by: sevev <qiangzh95@gmail.com>
OliLay pushed a commit to OliLay/starrocks that referenced this pull request Jun 30, 2026
…ks#74910)

Signed-off-by: alvin-phoenix-ai <alvin.zhao@phoenixdata.ai>
Signed-off-by: Oliver Layer <o.layer@celonis.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants