Skip to content

Comments

feat(schema-compiler): Support adding pre-aggregations in Rollup Designer for YAML-based models#9500

Merged
KSDaemon merged 11 commits intomasterfrom
feat/yaml-support-rollup-designer
Apr 25, 2025
Merged

feat(schema-compiler): Support adding pre-aggregations in Rollup Designer for YAML-based models#9500
KSDaemon merged 11 commits intomasterfrom
feat/yaml-support-rollup-designer

Conversation

@KSDaemon
Copy link
Contributor

@KSDaemon KSDaemon commented Apr 22, 2025

This PR brings the missing piece of Rollup Designer: support for yaml-based models! Now you can generate pre-aggregations and update your yaml schema files with ease!

Fixes #5989.

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

@codecov
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

Attention: Patch coverage is 91.76471% with 7 lines in your changes missing coverage. Please review.

Project coverage is 59.59%. Comparing base (d28333a) to head (042b561).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
packages/cubejs-server-core/src/core/DevServer.ts 0.00% 6 Missing ⚠️
...compiler/converters/CubePreAggregationConverter.ts 96.87% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (d28333a) and HEAD (042b561). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (d28333a) HEAD (042b561)
cubesql 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #9500       +/-   ##
===========================================
- Coverage   83.86%   59.59%   -24.27%     
===========================================
  Files         230      153       -77     
  Lines       83825    13130    -70695     
  Branches        0     2240     +2240     
===========================================
- Hits        70297     7825    -62472     
+ Misses      13528     4990     -8538     
- Partials        0      315      +315     
Flag Coverage Δ
cube-backend 59.59% <91.76%> (?)
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.

@KSDaemon KSDaemon force-pushed the feat/yaml-support-rollup-designer branch from fde595a to 1067c03 Compare April 22, 2025 17:39
@KSDaemon KSDaemon marked this pull request as ready for review April 22, 2025 18:18
@KSDaemon KSDaemon requested review from a team as code owners April 22, 2025 18:18
@KSDaemon KSDaemon force-pushed the feat/yaml-support-rollup-designer branch 2 times, most recently from 146bfb6 to 4d10e5c Compare April 25, 2025 17:35
@KSDaemon KSDaemon force-pushed the feat/yaml-support-rollup-designer branch from 4d10e5c to 042b561 Compare April 25, 2025 18:03
@KSDaemon KSDaemon merged commit 1cfe4c2 into master Apr 25, 2025
60 checks passed
@KSDaemon KSDaemon deleted the feat/yaml-support-rollup-designer branch April 25, 2025 22:12
marianore-muttdata pushed a commit to MuttData/cube that referenced this pull request Jun 17, 2025
…gner for YAML-based models (cube-js#9500)

* prepare schema converter for yaml

* add yaml package

* fix: do not write all files while you need only one

* feat(schema-compiler): Support adding pre-aggregations in Rollup Designer for YAML-based models

* process and write only one required file

* add basic test for CubeSchemaConverter

* test for yaml pre-agg gen

* add note

* more tests

* rename test

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rollup Designer in Cube Core is broken for YAML data models

3 participants