Conversation
…tor, constraints check bypass
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThese changes refine graph query optimization and execution: (1) enhance ID filter extraction by validating non-id() operands don't reference the node alias variable, (2) ensure deterministic ordering when enumerating index properties and types, (3) refactor the unwind operator to stream over iterators instead of materializing lists, and (4) disable constraint comparison in graph equality tests pending future support. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~65 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #370 +/- ##
==========================================
+ Coverage 85.42% 85.47% +0.05%
==========================================
Files 109 109
Lines 28000 28013 +13
==========================================
+ Hits 23918 23945 +27
+ Misses 4082 4068 -14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
Independent bug fixes and small improvements extracted from the
rdbbranch (#359):utilize_node_by_id.rs): Prevent the node-by-ID optimization from firing when the filter's value expression references the same variable as theid()call (self-referencing filter likeWHERE id(n) = id(n) + 1)procedures.rs): Sortdb.indexes()properties and types output by key for deterministic, reproducible resultsunwind.rs): Replace index-basedListExpansionwithValueIter-basedIterExpansionto support lazy range iterators and simplify lifetimesgraph_utils.py): Disabledb.constraints()call ingraph_equntil constraints are supportedNot included (deferred to effects PR)
temporal.rszero-arg overloads and.transaction()variants: These require thenon_deterministicfield additions to thecypher_fn!macro andGraphFnstruct, which belong in the effects PRtest_multi_writer.pyrace fix: Already merged to main via Fix flaky test_multi_writer.py #367Test plan
cargo check,cargo fmt,cargo clippy)cargo test -p graph)./flow.sh)Summary by CodeRabbit
Performance Improvements
Improvements
Tests