Skip to content

fix: Fix the performance issue of query ic5.#332

Merged
liulx20 merged 2 commits into
alibaba:mainfrom
liulx20:liulx20-patch-1
May 11, 2026
Merged

fix: Fix the performance issue of query ic5.#332
liulx20 merged 2 commits into
alibaba:mainfrom
liulx20:liulx20-patch-1

Conversation

@liulx20
Copy link
Copy Markdown
Collaborator

@liulx20 liulx20 commented May 9, 2026

This pull request updates the logic in the tc_fusable function to correctly handle the structure of the select operator's predicate. The main change is adjusting the expected number and positions of operators in the predicate, ensuring the function matches the updated query plan structure.

Predicate structure validation:

  • Changed the check for the number of operators in select_opr.predicate() from 7 to 3, and updated the indices used to access var, within, and v_set accordingly. This ensures compatibility with the new predicate structure in the query plan.

Fixes

@liulx20 liulx20 requested a review from lnfjpt May 9, 2026 02:29
Copy link
Copy Markdown
Collaborator

@lnfjpt lnfjpt left a comment

Choose a reason for hiding this comment

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

LGTM

@liulx20 liulx20 merged commit df5fc85 into alibaba:main May 11, 2026
17 checks passed
@lnfjpt lnfjpt mentioned this pull request May 26, 2026
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.

The main branch exhibits significant performance degradation in LDBC interactive.

2 participants