fix(cysql): ensure that optional matches are only rendered with valid previous frame - BED-7054#52
Conversation
… is a valid previous frame - BED-7054
|
Caution Review failedPull request was closed or merged during review WalkthroughA new optional match translation test case is added for scenarios with zero matching edges, and the optional match translation logic is refined to validate previous frames before proceeding with aggregation rather than checking for mere frame existence. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Description
Missed a check where the optional keyword was encountered with no previous query frame present.
Resolves: BED-7054
Type of Change
Testing
go test -tags manual_integration ./integration/...)Driver Impact
drivers/pg)drivers/neo4j)Checklist
go.mod/go.sumare up to date if dependencies changedSummary by CodeRabbit
Tests
Bug Fixes