Skip to content

InList optimisation on more expressions#3347

Merged
Ignition merged 1 commit intomasterfrom
2025_10_15_InList_generalise
Oct 21, 2025
Merged

InList optimisation on more expressions#3347
Ignition merged 1 commit intomasterfrom
2025_10_15_InList_generalise

Conversation

@Ignition
Copy link
Contributor

Now always generating a FrameChangeId for each InList operator.

This means we now support the optimisation for queries like x IN range(0,1000).

@Ignition
Copy link
Contributor Author

Ignition commented Oct 15, 2025

Tracking

  • [Link to Epic/Issue]

Standard development

CI Testing Labels

  • Select the appropriate CI test labels (CI -build=build-name -test=test-suite)

Documentation checklist

  • Add the documentation label
  • Add the bug / feature label
  • Add the milestone for which this feature is intended
    • If not known, set for a later milestone
  • Write a release note, including added/changed clauses
    • Enable InList optimisation (caching a set for O(1) lookup) on more expressions. Now x IN range(0,1000) and other expressions benefit from this optimisation. #3347
  • [ Documentation PR link memgraph/documentation#XXXX ]
    • Is back linked to this development PR

@Ignition Ignition requested a review from imilinovic October 15, 2025 13:23
@Ignition Ignition self-assigned this Oct 15, 2025
@Ignition Ignition added feature feature Docs - changelog only Docs - changelog only labels Oct 15, 2025
@Ignition Ignition added this to the mg-v3.7.0 milestone Oct 15, 2025
@Ignition Ignition enabled auto-merge October 15, 2025 13:27
@Ignition Ignition disabled auto-merge October 15, 2025 13:27
Now always generating a FrameChangeId for each InList operator.

This means we now support the optimisation for queries like `x IN
range(0,1000)`.
@Ignition Ignition force-pushed the 2025_10_15_InList_generalise branch from 0423f3d to 9b33267 Compare October 15, 2025 13:33
@sonarqubecloud
Copy link

@Ignition Ignition added this pull request to the merge queue Oct 21, 2025
Merged via the queue into master with commit 674a70f Oct 21, 2025
32 checks passed
@Ignition Ignition deleted the 2025_10_15_InList_generalise branch October 21, 2025 14:13
as51340 pushed a commit that referenced this pull request Oct 24, 2025
Now always generating a FrameChangeId for each InList operator.

This means we now support the optimisation for queries like `x IN
range(0,1000)`.
@gitbuda gitbuda mentioned this pull request Nov 10, 2025
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs - changelog only Docs - changelog only feature feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants