feat(cubesql): Support joining ungrouped queries with SQL push down#11315
feat(cubesql): Support joining ungrouped queries with SQL push down#11315MazterQyou wants to merge 1 commit into
Conversation
|
Claude finished @MazterQyou's task in 1m 35s —— View job Code ReviewVerdict: LGTM overall — small, well-scoped rewrite rule that closely mirrors the existing Review detailsCorrectness
Test coverage (
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #11315 +/- ##
==========================================
- Coverage 83.84% 79.58% -4.27%
==========================================
Files 257 473 +216
Lines 80408 98537 +18129
Branches 0 3549 +3549
==========================================
+ Hits 67422 78418 +10996
- Misses 12986 19610 +6624
- Partials 0 509 +509
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
b0ad4c9 to
b59ec24
Compare
|
Claude finished @MazterQyou's task in 2m 20s —— View job Code ReviewVerdict: LGTM. Well-scoped extension that mirrors the existing grouped-join-grouped / ungrouped-join-grouped patterns. A few small observations below; nothing blocking. Review detailsCorrectness
Test coverage
Style / minor
|
Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
b59ec24 to
82e1d8b
Compare
|
Claude finished @MazterQyou's task in 1m 59s —— View job Code ReviewVerdict: LGTM. The synchronize picks up all the test-coverage gaps the prior two reviews flagged (OFFSET-only, LEFT/RIGHT/FULL JOIN variants, Review detailsCorrectness
Test coverageThe synchronize adds all previously-suggested tests:
Good coverage. Style / minor
|
Check List
Description of Changes Made
This PR supports SQL push down for joins where either side is an ungrouped (raw) query, e.g. a self-join of a CTE selecting dimensions, by planning them as plain SQL joins of standalone subqueries instead of failing with
Use __cubeJoinField to join Cubes. Related tests are included.