forked from cube-js/cube
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from cube-js:master #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ntervals for AWS Redshift dialect (#9489)
…/Presto dialect (#9472) * Add docs * code hygiene * feat(schema-compiler): Custom granularities support for AWS Athena/Presto dialect --------- Co-authored-by: Konstantin Burkalev <[email protected]>
* fix(schema-compiler): Fix not working timeshift in views * add tests
…ta`, and `format` on view members (#9496) * allow overrides in views validator * allow objects in view's includes without aliases * feat(schema-compiler): Support overriding `title`, `description`, `meta`, and `format` on view members * code polish * add tests * code polish
* docs: Query History export * Last touch
It was used as an experiment for sandboxing, not as real production usage or public API.
* chore(deps): Upgrade jest 27 → 29 * fix types * fix yaml finder * another fix * update redshift snapshots * fix yaml pkg * add snapshot * update snapshot * another fix * add snapshots * fix multiquery checks * update snapshots
…gner for YAML-based models (#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
* chore(tests): Fix jest yaml resolution in schema-compiler * fix tests
* restructure validation schemas (for hierarchies and folders) * remove unneeded * feat(schema-compiler): Support folders via views extends * tests fix/improve * make extend of all the things in the view * update tests * upd tests * Add docs * update snapshot --------- Co-authored-by: Igor Lukanin <[email protected]>
…9524) * chore(tests): Create base jest config and extend it in each package * track jest.base.config.js changes in push CI WF
…aggregation (#9517) * actual fix * add tests * add tests * lint fix
This should allow pushing down expressions like `CAST(dimension AS TEXT) AS alias` into `CubeScan` as regular dimensions. And that, in turn, should allow `__cubeJoinField` joins to see more `CubeScan`s Supporting changes: Remove unused rule for member pushdown from `AllMembers` All matching happening with `CubeScanMembers` on top of actual members node, and this rule does not expect that `member_name_to_expr` part of analysis can extract members from `CubeScanMembers(AllMembers)`, so there's no reason to keep this rule Add explicit type in `var!` macro, to avoid type confusion.
#9749) Allowing filters to be pushed down with DATE_PART('year') by pushing it as inDateRange. Now, such queries will be accelerated with pre-aggregations.
…lickHouse queries (#9674) * Set alias for dimension columns in ClickHouse queries * Apply suggestion from @KSDaemon --------- Co-authored-by: Konstantin Burkalev <[email protected]>
…: Speed up table schema retrospection (#9751) Speed up by one time inplace sorting in stead of a few and with new objects creation
… var / config option (#9752) * feat(snowflake-driver): Introduce CUBEJS_DB_SNOWFLAKE_OAUTH_TOKEN env var / config option * update docs
…es (#9756) To align with the docs
* dedup @jridgewell/sourcemap-codec * dedup fast-glob * dedup globby * dedup jsonc-parser * dedup source-map * dedup minipass * dedup esquery * dedup raw-body * dedup rfdc * dedup stylehacks * dedup safe-regex-test * dedup less * dedup pg-pool * dedup launch-editor * dedup nth-check * dedup postcss-* * dedup parse5 * dedup escalade * dedup cssnano * dedup detect-libc * dedup eslint-visitor-keys * dedup cssnano-preset-default * dedup is-regex * dedup mini-css-extract-plugin * dedup import-local * dedup define-properties * dedup bonjour-service * dedup decimal.js * dedup css-declaration-sorter * dedup @vue/compiler-sfc * dedup enquirer * dedup ipaddr.js * dedup @types/graceful-fs * dedup pg-connection-string * dedup @hapi/hoek * dedup @ctrl/tinycolor * dedup gopd * dedup rollup * dedup fs-extra * dedup joi * dedup node-gyp * dedup pg-protocol * dedup @sideway/address * dedup @types/connect-history-api-fallback * dedup semver * update brace-expansion * upgrade tar-fs * remove obsolete * fix yarn lock after conflicts * dedup pg-protocol pg pg-pool pg-connection-string pgpass once again * dedup @hapi/hoek * dedup pg-cloudflare * dedup long * dedup bare-events * dedup rxjs
…ns (#9758) * update data model scheme for calendar time shifts + compilation tests * chore(tesseract): Refactoring of time shift without time dimension logic * add timeshift definitions to rust side * implement time shifts over calendar tables * add usefull comment * fix correct sql gen for calendar custom gran but with common timeshift * add tests --------- Co-authored-by: Alexandr Romanenko <[email protected]>
#9766) * fix(cubestore): Make projection_above_limit optimization behave deterministically This orders columns in plan generation based on the order they're seen instead of using hash table ordering. Note that this affects internal plan nodes and does not change the output of any correctly-running queries. This has the effect of making query behavior deterministic and reproducible when investigating other bugs in query evaluation. * chore(cubestore): Make projection_above_limit::ColumnRecorder use IndexSet
#9770) * Extend test schema / dataset with RetailCalendar * add tests for RetailCalendar * edit fixtures/excludes/etc * update snapshots
…ed by cubestore (#9771)
…cessing (#9772) * fix serialization as interval is now optional for granularity * fix the infinite loop eval of calendar time shifts * fix time shifts for cases when they are defined on the pk * add tests for common queries of calendar td Also restructured tests * fix recursion for time shifts plain values * prepare tests for pk time shift skipped for as not supported by tesseract * cargo fmt
…calendars (#9773) * extend cube validator to support named timeshifts * Initial support for named time shifts * Resolve conficts * fix Evaluator to support named time shifts * update measure symbol to support named time shifts * cargo clippy * update snapshots * add tests for named time shifts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )