Skip to content

feat(schema-compiler): Add join_path support in folder includes#10349

Merged
ovr merged 7 commits intomasterfrom
feat/folders-join-path
Feb 3, 2026
Merged

feat(schema-compiler): Add join_path support in folder includes#10349
ovr merged 7 commits intomasterfrom
feat/folders-join-path

Conversation

@ovr
Copy link
Member

@ovr ovr commented Jan 30, 2026

Adds support for using join_path syntax within folder includes to reference all members from a specific cube in the view's join graph. This allows folders to aggregate members from multiple nested join paths plus direct field references.

Example:

views:
  - name: Ecom
    cubes:
      - join_path: orders
        includes: "*"
      - join_path: orders.users
        prefix: true
        includes:
          - count
          - gender
      - join_path: orders.products
        prefix: true,
        includes:
          - category_id
    folders:
      - name: Mixed
        includes:
          - join_path: orders
          - join_path: orders.users
          - products_category_id

Adds support for using join_path syntax within folder includes to
reference all members from a specific cube in the view's join graph.
This allows folders to aggregate members from multiple nested join
paths plus direct field references.
@github-actions github-actions bot added the javascript Pull requests that update Javascript code label Jan 30, 2026
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 72.97297% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.16%. Comparing base (285185f) to head (1b39c2f).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...bejs-schema-compiler/src/compiler/CubeEvaluator.ts 69.69% 10 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (285185f) and HEAD (1b39c2f). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (285185f) HEAD (1b39c2f)
cubesql 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #10349       +/-   ##
===========================================
- Coverage   83.29%   55.16%   -28.13%     
===========================================
  Files         248      221       -27     
  Lines       74486    17295    -57191     
  Branches        0     3539     +3539     
===========================================
- Hits        62041     9541    -52500     
+ Misses      12445     7259     -5186     
- Partials        0      495      +495     
Flag Coverage Δ
cube-backend 55.16% <72.97%> (?)
cubesql ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ovr ovr marked this pull request as ready for review February 2, 2026 15:36
@ovr ovr requested a review from a team as a code owner February 2, 2026 15:36
@ovr ovr merged commit f80ab56 into master Feb 3, 2026
64 of 73 checks passed
@ovr ovr deleted the feat/folders-join-path branch February 3, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants