-
Couldn't load subscription status.
- Fork 1.9k
docs: describe additional meta params for MDX API #8690
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
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 5 Skipped Deployments
|
FlipEnergy
pushed a commit
to gorgias/cube
that referenced
this pull request
Oct 16, 2025
* docs: Fix percent calculations * fix(schema-compiler): propagate FILTER_PARAMS from view to inner cube's SELECT (cube-js#8466) * chore(schema-compiler): Move backAliasMembers*() from PreAggreggations to BaseQuery * chore(schema-compiler): remove Ramda from BaseGroupFilter * chore(schema-compiler): improve getSqlGenerator() by removing duplicate calls to getDbType() * chore(schema-compiler): improvement in extractFilterMembers * chore(schema-compiler): Improvement in evaluateSymbolSql() * fix(schema-compiler): For views, propagate FILTER_PARAMS to inner cube SELECT * chore(schema-compiler): add tests for FILTER_PARAMS propagation * chore(schema-compiler): fix yaml-compiler tests * fix(schema-compiler): fix backalias resolution in FILTER_PARAMS to exclude segments * chore(schema-compiler): fix yaml compiler integration test (cube-js#8674) * docs: Tiny edits * docs: Add Cube Rollup London banners * refactor(cubesql): Use LazyLock instead of lazy_static, move more regexps to statics (cube-js#8675) * Replace lazy_static with LazyLock in many places * Replace lazy_static with Once for testing logger init * Remove unused testing logging static in config * Move more static regexps to LazyLocks * feat(cubesql): Support join with type coercion (cube-js#8608) * Bump datafusion * Add tests for join with coercion execution * feat(cubesql): Fill pg_description table with cube and members descriptions (cube-js#8618) * Add description to CubeMetaTable and CubeMetaColumn * Fill pg_description table with cube descriptions * v0.35.80 * docs: Update environments.mdx (cube-js#8681) Explain how dev environments are allocated one per user and how they are accessed. I mentioned this twice. If you think it's overkill, we can remove one :) * docs: Update dbt.mdx (cube-js#8680) Add description from dbt manifest * fix(api-gateway): fixes an issue where queries to get the total count of results were incorrectly applying sorting from the original query and also were getting default ordering applied when the query ordering was stripped out (cube-js#8060) Thanks @rdwoodring! * fix(api-gateway) fix(schema-compiler): fixes an issue where queries to get the total count of results were incorrectly applying sorting from the original query and also were getting default ordering applied when the query ordering was stripped out * fix(api-gateway): add missing semicolon --------- Co-authored-by: Ryan Woodring <rwoodring@systemsalliance.com> * fix: Updated jsonwebtoken in all packages (cube-js#8282) Thanks @jlloyd-widen ! * updated jsonwebtoken in all packages * fix linting error, address other CVE * address tsc failure * reverted the jsdom change in playground * fixed yarn lock file * added the jsdom update back in * refactor(cubestore): Create CubestoreMetadataCacheFactory and TableExtensionService DIServices (cube-js#8625) * docs: describe additional meta params for MDX API (cube-js#8690) * update * update * feat: ksql and rollup pre-aggregations (cube-js#8619) Added support for pre-aggregations for ksqldb using select statement and direct load from kafka * docs: Fix import logic and make example easier to understand (cube-js#8688) * docs: Fix DEPRECATION.md * feat(cubestore): Support date_bin function (cube-js#8672) * feat(cubestore): implement date_bin() * add tests for date_bin udf in cubestore * remove obsolete stuff * remove debug logs + rename * remove debug logs * fix(cubesql): Use load meta with user change for SQL generation calls (cube-js#8693) * Extract user change tests to separate module * Add LoadRequestMeta to generated query from TestConnectionTransport * Turn panics into errors in TestConnectionTransport::load * v0.35.81 * feat(cubejs-client/playground): new query builder & new chart prototyping (cube-js#8678) * feat(cubejs-client/playground): new query builder * fix react ts errors * fix(cubejs-client/playground): typings * fix(cubejs-client/playground): e2e tests * fix(cubejs-client/playground): e2e tests * 2 * fix(cubejs-client/playground): e2e tests * 3 * fix(cubejs-client/playground): e2e tests * 4 * fix(cubejs-client/playground): e2e tests * 5 * fix(cubejs-client/playground): e2e tests * 6 * fix(cubejs-client/playground): e2e tests * 7 * fix(cubejs-client/playground): e2e tests * 8 * fix(cubejs-client/playground): e2e tests * 9 * fix(cubejs-client/playground): e2e tests * 10 * fix(cubejs-client/playground): e2e tests * 11 * fix(cubejs-client/playground): e2e tests * 12 * fix(cubejs-client/playground): e2e tests * 13 * fix(cubejs-client/playground): e2e tests * 14 * fix(cubejs-client/playground): e2e tests * 15 * fix(cubejs-client/playground): graphql raw response * fix(cubejs-client/playground): graphql raw response * 2 * feat(cubejs-playground): add chart prototyping * feat(cubejs-playground): add chart prototyping * 2 * feat(cubejs-playground): update query builder * fix(cubejs-playground): update build command * fix(cubejs-playground): update build command and vizard version * fix(cubejs-playground): update build command * fix(cubejs-playground): update build command --------- Co-authored-by: Alex Vasilev <vaspiring@gmail.com> * feat(docker): Upgrade OS to bookworm from bullseye * feat(docker): Upgrade Python to 3.11 from 3.9 * feat(docker): Upgrade Node.js to 20.17.0 * chore!: Support for Node.js 16 was removed BREAKING CHANGE: Node.js is EOL, it was deprecated in v0.35.0 * feat(docker): Upgrade OpenSSL to 3 from (1.1) * feat(docker-jdk): Upgrade JDK to 17 from 11 fix java * chore!: Remove cache & queue driver for Redis BREAKING CHANGE: Starting from v0.32, Cube Store is used as default cache and queue engine. Article: https://cube.dev/blog/replacing-redis-with-cube-store * chore!: /v1/run-scheduled-refresh - was removed BREAKING CHANGE: Removing this method since Cube is designed and supposed to be run as a cluster, rather than a serverless application, in a production setting. Use the Orchestration API instead * feat(cubesql)!: Enable CUBESQL_SQL_NO_IMPLICIT_ORDER by default BREAKING CHANGE: It's started to be true. it means that SQL API will not add ordering to queries that doesn't specify ORDER BY, previusly it was true only for ungrouped queries * chore!: Remove support for checkAuthMiddleware BREAKING CHANGE: checkAuthMiddleware option was deprecated in 0.26.0, because this option was tightly bound to Express. Since Cube.js supports HTTP **and** WebSockets as transports, we want our authentication API to not rely on transport-specific details. We now recommend using checkAuth. * chore: Upgrade Yarn to 1.22.22 from 1.22.19 * feat(databricks-jdbc-driver): Support Java higher then 11 * feat(docker)!: Remove rxvt-unicode (was used as TERM) BREAKING CHANGE: It was not usefull, at the same time this TERM requires a lot of libraries to be installed. It costs 148 MB of additional disk space. * docs: Node.js update * docs: Redis update * docs: run-scheduled-refresh update * docs: CUBESQL_SQL_NO_IMPLICIT_ORDER update * docs: checkAuthMiddleware update * chore(cli)!: Generate - remove support for --user-context, please use -p (--payload) * docs: clean-up * docs: USER_CONTEXT update * docs: Add a missing item to DEPRECATION.md * feat: Upgrade aws-sdk to 3.650.0 * feat(schema-compiler): custom granularity support (cube-js#8537) * remove unneeded filter for granularities * dedup month in standardGranularitiesParents * feat(schema-compiler): update cube's schema to allow granularities for time dimensions * fix custom granularity processing in time dimension * update yaml schema compiler to process custom granularities * Add custom granularities support to time dimension and base query * feat(schema-compiler): update cube's schema to allow granularities for time dimensions (simple syntax) * Add custom granularities simple syntax support to the time dimension and base query * Rename baseGranularity → rollupGranularity * fix schema validation * fix custom granularity processing in BaseTimeDimension * Moved custom granularity processing from time dimension to base query * Revert: deep evaluateSymbolSql processing * Implement dimensionTimeGroupedColumn for Snowflake * Implement dimensionTimeGroupedColumn for MySQL * Add custom granularity time intervals generation (used in rollups) * Rewrite parseSqlInterval from regex to split * Add tests for timeSeriesFromCustomInterval * Add tests for yaml schema compiler * Add tests for cube validator * Fix overTimeSeriesQuery with custom granularities * Add tests for sql query generation for queries with custom granularities * return back deleted test * Remove comment, add types * update cube validation scheme: remove sql, add origin * add tests for cube validator * add another test for yaml schema compiler * move isGranularityNaturalAligned() to utils to be reused * Add Granularity entity and move all related processing there also implement date_bin for postgres * temporary comment out dimensionTimeGroupedColumn * Fix timeSeriesFromCustomInterval generation * Fix tests timeSeriesFromCustomInterval * Add more tests for timeSeriesFromCustomInterval * Fix Granularity constructor * Add integration tests for Custom Granularities for PostgreSQL * Fix Custom Granularities tests in CI (needs order by) * Implement date_bin for Snowflake * Move BaseDbRunner from postgres to separate folder * fix customGranularity.origin init * implement dateBin in MySQL * fix interval math ops in MySQL * fix postgres custom granularities tests * Add tests for custom granularities in MySQL * move granularityFromIntervalString from BaseQuery → Granularity * fix granularityFromIntervalString * improve addInterval / subtractInterval in MS SQL Query (now supports intervals with >1 time units) * Implement dateBin for MS SQL * Add tests for custom granularities in MS SQL * fix 2 granularities test (actually revert the bad changes back) * add comment for dateBin in postgresql query * Implement dateBin for Databricks * Implement dateBin for DuckDB * implement dateBin for BigQuery * extend testing fixtures with custom granularities * fix TimeDimensionGranularity type to allow custom granularities * Add more unit tests for granularities * fix writing yaml with test cubes definitions containing origin with dashes * add tests for custom granularities in testing drivers * skip custom granularities tests for athena * skip custom granularities tests for clickhouse * add test snapshots for custom granularities tests for postgres * skip custom granularities tests for mysql (some) * add test snapshots for custom granularities tests for ms sql * skip custom granularities tests for mssql (some) * add test snapshots for custom granularities tests for snowflake * add test snapshots for custom granularities tests for bigQuery * skip custom granularities tests for databricks (some) * add test snapshots for custom granularities tests for Databricks * Implement dateBin for ClickHouse * Add custom granularities integration tests for ClickHouse * unskip custom granularities tests for clickhouse (some) * add test snapshots for custom granularities tests for ClickHouse * fix linting * fix integration tests for clickhouse v22.x * fix in dateBin for Postgresql and Bigquery * Add char limits for granularities names in queries * Add time series date range limit checking before generating * add tests for limit checking in time series generation * Improve error message for time series limit * fix tests for time series limit * Refactor: move isGranularityNaturalAligned from Basequery → Granularity class * add test snapshots for custom granularities tests for MySQL * move diffTimeUnitForInterval to BaseQuery * fix in choosing minGranularity for granularity with origin point * feat(cubesql): Support `information_schema.sql_implementation_info` meta table * chore(cubestore): Update Cargo.lock for newest arrow-rs version (cube-js#8702) * feat(schema-compiler): Support date_bin function in Cube Store queries (cube-js#8684) * feat(schema-compiler): implement dateBin() in CubeStoreQuery * Add tests for dateBin in CubeStoreQuery * add e2e tests for custom granularities with preaggregations * Remove console.log * chore(ci): Disable upx for cubestore on x86_64-apple-darwin (cube-js#8706) Usage of upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05. * chore!: Remove support for USER_CONTEXT (cube-js#8705) BREAKING CHANGE: This functionality was deprecated starting from v0.26.0. Please migrate to SECURITY_CONTEXT. * v0.36.0 * chore: Fix release build for playground * chore: Fix release build for playground, v2 * fix(schema-compiler): Add missing “quarter” time unit to granularity definitions (cube-js#8708) * fix(schema-compiler): Add missing “quarter” time unit to granularity definitions * add tests for quarters in granularities * fix(schema-compiler): allow custom granularities with 1 week interval definition * more tests * docs: Cube Cloud for Sheets (cube-js#8687) * feat(schema-compiler): Reference granularities in a proxy dimension (cube-js#8664) * Update resolveSymbol & cubeReferenceProxy to support deep properties resolution (proxied custom granularities) * Update evaluateSymbolSql to support deep properties resolution (proxied custom granularities) * add unit tests for proxied time dimension granularities * refactor: remove cubePropertyReferenceProxy and move required logic piece to cubeReferenceProxy * fix func types in CubeEvaluator * Add support for proxying predefined granularities * Add tests for proxying predefined granularities * fix proxying granularities, referenced from different cubes * add tests for proxying granularities, referenced from different cubes * Add check for undefined during custom granularities tests * fix proxying items, referenced from different cubes/views * rename internalPropertyName -> subPropertyName in evaluateSymbolSql * fix after merge/rebase * Add comments in evaluateSymbolSql * create resolveSubProperty for unified way of subproperty resolving * Add usefull comments * implement proxied time dim granularity evaluation within the BaseQuery/evaluateSymbolSql area, not going to dimensionSql() * refactoring in resolveGranularity flow * reverted back to dimensionSql() * fix populating granularities in the views * add unit tests for custom granularities in views * add integration tests for proxied granularity * chore: tsconfig - target es2022 (Node.js 18) (cube-js#8704) From the v0.36 release, Node.js 18 is deprecated (we are using Node.js 20 for docker). This means we are ready to use es2022 as a minimal version for our target in tsconfig. * docs: Add Cube Rollup San Francisco banners * docs: Add Cube Rollup San Francisco banners * feat(snowflake-driver): Upgrade snowflake-sdk to 1.13.1 (fix Node.js 20+ crash) (cube-js#8713) This upgrade is required to fix a compatibility issue for Snowflake SDK and Node.js 20+. References: - snowflakedb/snowflake-connector-nodejs#588 - snowflakedb/snowflake-connector-nodejs#703 * v0.36.1 * feat(cubesql): Support `[I]LIKE ... ESCAPE ...` SQL push down * docs: Add Cube Rollup San Francisco banners * fix(schema-compiler): correct origin timestamp initialization in Granularity instance (cube-js#8710) * remove doubled query.newTimeDimension() call in transformQueryToCanUseForm * fix(schema-compiler): correct origin timestamp initialization in Granularity instance * tests for custom preagg matches * docs: Preview label for Cube Cloud for Sheets * docs: Custom time dimension granularities (cube-js#8679) * fix(cubesql): Support new QuickSight meta queries * feat(schema-compiler): expose custom granularities via meta API (cube-js#8703) * Add DimensionGranularity to Meta OpenAPI Spec * feat(schema-compiler): expose custom granularities via meta API * add unit test for custom granularities in meta * add an optional title to custom granularity * Add tests for granularities with and w/o title in meta * feat(cubejs-playground): add support for ungrouped and offset options (cube-js#8719) * refactor(cubesql): Make Postgres authentication extensible (cube-js#8709) * chore(deps-dev): bump vite from 5.4.2 to 5.4.6 (cube-js#8720) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.2 to 5.4.6. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cubejs-testing): cypress - fix rollup tests (cube-js#8725) * feat(schema-compiler): exact match preagg with custom granularity without the need for allow_non_strict_date_range_match option (cube-js#8712) * feat(schema-compiler): exact match preagg with custom granularity without the need for allow_non_strict_date_range_match option * Fix failing tests after tuning sortTimeDimensionsWithRollupGranularity * feat(client-core): extend client types with custom granularity support (cube-js#8724) * v0.36.2 * docs: Playground 2.0 and Chart Prototyping in Cube Core (cube-js#8729) * fix(schema-compiler): fix FILTER_PARAMS propagation from view to cube's SQL query (cube-js#8721) * fix(schema-compiler): fix FILTER_PARAMS propagation from view to cube's SQL query * Add tests for fix * Remove console.log * small code polish * docs: Update the APIs & integrations diagram * chore(testing-drivers): add retry for failures during drivers matrix tests (cube-js#8735) This happens from time to time due to various reasons like docker hub image pull timeouts and other errors. This helps in such a cases. * chore(cubestore): Update to use MetadataCacheFactory and TableExtensionService Result return values * uses build_writer_props interface returning a Result * makes TableExtensionService::get_extension return a Result * updates Cargo.lock for arrow-datafusion changes * chore(ci): run cloud db drivers tests only when credentials are set (cube-js#8736) * chore(ci): run cloud db drivers tests only when credentials are set * remove config-inline in publish/docker-push as actionlint is complaining and this option is already not supported for some time * docs: Fix typo in the description of CUBESTORE_GCP_CREDENTIALS env var (cube-js#8734) — thank you, @josedev-union! * chore: Fix some comments (cube-js#8728) — thank you, @jingchanglu! Signed-off-by: jingchanglu <jingchanglu@outlook.com> * docs: Update using-pre-aggregations.mdx (cube-js#8723) The export buckets section linked to an outdated list of data sources that support export buckets. Instead of adding to the list all of the missing data sources, I have changed this to a generic link so that we do not need to constantly keep it up to date. * v0.36.3 * fix(duckdb-driver): fix timeStampCast and dateBin (cube-js#8748) * feat(schema-compiler): expose custom granularities details via meta API and query annotation (cube-js#8740) * extend response for /meta with custom granularity details * update OpenAPI spec with custom granularities details * update annotation for query with custom granularity (if it was used) with granularity details * add tests for /meta response * add tests for custom granularity in query annotation * Update types and structure in prepareAnnotation * adopt tests with changes * feat(client-core): timeseries for custom intervals (cube-js#8742) * feat(client-core): support custom intervals time series generation * add tests for custom intervals time series * docs: Elaborate on joins * fix(schema-compiler): Warn when `COUNT(*)` is used with a cube/view where `count` is not defined (cube-js#8667) * v0.36.4 * chore(ci): automatically retry integration tests on failure on push (cube-js#8751) * feat(cubesqlplanner): Base joins support (cube-js#8656) * refactor(cubestore): Move build_writer_props to CubestoreMetadataCacheFactory (cube-js#8756) * feat(snowflake-driver): support azure exports buckets (cube-js#8730) * add azure export bucket options to Snowflake driver * add env var for Azure SAS Token * add STORAGE_INTEGRATION variant to export bucket flows * Simplify isUnloadSupported() * add extractFilesFromGCS() to BaseDriver Class * implement extractFilesFromAzure() in SnowFlake Driver * some refactoring in extractFilesFromAzure() * debug and fix extractFilesFromAzure() * remove error if no csv files were exported (that's ok) * move extractFilesFromAzure to BaseDriver from Snowflake * switch Athena Driver to use extractUnloadedFilesFromS3() from BaseDvier impl * switch RedShift Driver to use extractUnloadedFilesFromS3() from BaseDvier impl * switch Databricks Driver to use extractUnloadedFilesFromS3() and extractFilesFromAzure() from BaseDvier impl * Remove unused/cleanup from databricks driver * update extractFilesFromGCS() in BaseDriver to receive credentials instead of Storage instance * remove dep on @google-cloud/storage in Databricks for export bucket flow * fix Databricks driver export bucket flows after refactoring * set up CI to test clickhouse with s3 export bucket * Rename databricks export bucket test to reflect the s3 type * fix clickhouse-export-bucket-s3-full script in package.json * set up CI to test Snowflake with s3 export bucket * rename databricks tests snapshot after renaming test job * improve extractUnloadedFilesFromS3 flow to support different bucket naming schemes * add snowflake test snapshots for export bucket test * add clickhouse test snapshots for export bucket test * update databricks with bucket tests snapshots * rename athena test to reflect that it uses export bucket * reformat CLOUD_DATABASES in drivers tests CI job + add clickhouse-export-bucket-s3 * add snowflake export bucket to azure driver test * add databricks export bucket to azure driver test * add snowflake export bucket to azure via storage integration driver test * add snowflake export bucket to gcs via storage integration driver test * improve/refactor exported files filtering in extractFilesFromAzure() * set env secrets for drivers tests * Fix createExportBucket in Snowflake (making sasToken optional) * Fix CUBEJS_DB_EXPORT_BUCKET env var for tests * Remove includeIncrementalSchemaSuite from every test suite besides one + add comment * Fix CUBEJS_DB_EXPORT_BUCKET env var for tests in databricks * fix databricks export to azure flow + align test config * Fix blob object filtering during unloading in azure * sync @google-cloud/storage package used across packages * yarn lock sync * remove not needed includeIncrementalSchemaSuite in some tests * rename bigquery → bigquery-export-bucket-gcs to align with the rest tests * Add comments for exporting urls from S3 in BigQueryDriver * docs: Add the `deploy` command to the CLI utility reference * docs: Fix the custom granularity recipe, add a note on pre-aggregations * docs: Add a note on custom granularities for pre-aggregations * docs: Snowflake account format warning * fix(schema-compiler): fix FILTER_PARAMS flow in pre aggregations filtering (cube-js#8761) * fix(schema-compiler): fix FILTER_PARAMS flow in pre aggregations filtering * add tests * chore(deps): Upgrade fast-xml-parser from 4.3.1 to 4.4.1 (cube-js#8749) Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.3.1 to 4.4.1. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v4.3.1...v4.4.1) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: Staging Environments (cube-js#8764) * docs: Staging Environments * revise text * fix(firebolt-driver): use default api endpoint if not provided (cube-js#8767) * v0.36.5 * test(cubestore): add await on a check_bools call (cube-js#8771) * chore(ci): use built docker image for tests without the need of uploading to dockerhub (cube-js#8769) * fix(schema-compiler): Support minutes and seconds for cubestore format interval (cube-js#8773) * v0.36.6 * chore(ci): update test suite run workflow dispatch with useful info (cube-js#8780) * docs: Fix DEPRECATION.md * docs: Describe `CUBEJS_MAX_SESSIONS` environment variable (cube-js#8782) * feat(cubesql): Support `DATE_PART` SQL push down with Databricks (cube-js#8779) * test(cubesql): Extract some wrapper tests to separate module (cube-js#8783) * test(cubesql): Extract some join tests to separate module (cube-js#8777) * fix: Add explicit parameters limit in PostgreSQL and Redshift drivers (cube-js#8784) * ci(cubesql): Turn cargo check to cargo clippy with lots of disabled rules (cube-js#8676) * v0.36.7 * feat: Inherit all env variables to Cube Store (auto provisioning) (cube-js#3045) * docs: Fix typo (cube-js#8785) — thanks, @zacharywelch! * feat(playground): custom granularities support (cube-js#8743) * feat(playground): show custom granularities for time dimensions in QueryBuilder * split predefined and custom granularities into separate lists to be able to use different styles/icons * update CartesianChart with custom interval labeling support * update cube-dev/ui-kit to latest and update custom granularity icon in pg * Code polish * sync * Update QueryBuilderExtras.tsx * sync * sync * fix: Render LIMIT 0 and OFFSET 0 properly in SQL templates (cube-js#8781) `if limit` condition in Jinja will fail for both None and Some(0) This is more or less fine for offset, but completely wrong for limit. For consistency both are changed. Also add unit test in SQL API and smoke E2E test * fix(cubestore): don't add all measures to default preagg index (cube-js#8789) * fix(cubestore): don't add all measures to default preagg index * add tests * Update docs --------- Co-authored-by: Igor Lukanin <igor@cube.dev> * fix(playground): fix not showing granularities for time dimension (cube-js#8794) * feat(snowflake-driver): support DefaultAzureCredential and Managed Indentity auth for export bucket (cube-js#8792) * docs: Data-at-rest encryption in Cube Store and customer-provided keys (CMK) (cube-js#8791) * docs: Data-at-rest encryption in Cube Store and customer-provided keys (CMK) * . * Update docs/pages/product/workspace/encryption-keys.mdx Co-authored-by: Sam Hughes <sam@cube.dev> * Describe layers * . --------- Co-authored-by: Sam Hughes <sam@cube.dev> * feat: Renaming of Post Aggregate into Multi Stage (cube-js#8798) * feat(cube): Renaming of Post Aggregate into Multi Stage * update * docs: update the list of AWS credentials required for BYOC (cube-js#8800) * feat(prestodb-driver): Added support export bucket, gcs only (cube-js#8797) * chore(ci): update test suite run workflow dispatch with initiator user (cube-js#8801) * v0.36.8 * fix: Error after renaming post aggregate (cube-js#8805) * feat(cubestore): Metastore - increase parallelism to 2 (cube-js#8807) parallelism: The number of threads RocksDB will use for all background operations. Even if you increase the max_background_jobs but keep parallelism as 1, it won’t lead to a lot of performance increase. Ideally, this option should be kept equal to the number of cores in your machine. max_background_jobs is 2, but parallelism was 1. Must be aligned. * fix(cubesql): Fix `TRUNC` SQL push down for Databricks (cube-js#8803) * test: Fix snapshot name after Multi Stage renaming (cube-js#8810) * fix(cubejs-testing): Fix TZ env var for snapshots update script (cube-js#8811) * fix(cubesql): Ignore `__user IS NOT NULL` filter (cube-js#8796) * v0.36.9 * feat: New style RBAC framework (cube-js#8766) This commit introduces a new style Role Based Access Control framework for cubes. User can now define `accessPolicies` on Cubes and Views which will be evaluated into `queryRewrite` and visibility rules. This commit introduces a new config: `contextToRoles(context): string[]`. It should return a list of user role names based on the request context. Access Policies are defined per Cube x Role name like ``` access_policy: - role: "manager" conditions: - if "{ security_context.isNotSuspended }" row_level: filters: - member: `access_level` operator: lt values: [2] member_level: includes: "*" excludes: [`top_secret_field`] ``` Each policy can define a `row_level` and `member_level` rules. Row level rules can be defined as a list of filters or `allow_all: true` Member level rules should specify a list of "included" members that the user with a given role is allowed to see. When evaluating Cube and View level policies: - row level filters are joined via AND (least permissive policy wins) - member level policy at the view always wins (you can expose a hidden member of a Cube on a View) Policies can reference `security_context` (lowercase) when evaluating policy conditions and filter values. * v0.36.10 * feat(snowflake-driver): OAuth token path support (cube-js#8808) * feat: init * fix: path * fix: set default token path * v0.36.11 * chore: update fork to 0.36.11 * fix(schema-compiler): prevent member name collection from impacting joins --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: jingchanglu <jingchanglu@outlook.com> Co-authored-by: Igor Lukanin <igor@cube.dev> Co-authored-by: Konstantin Burkalev <KSDaemon@gmail.com> Co-authored-by: Mikhail Cheshkov <mcheshkov@gmail.com> Co-authored-by: Dmitry Patsura <talk@dmtry.me> Co-authored-by: morgan-at-cube <153563892+morgan-at-cube@users.noreply.github.com> Co-authored-by: Ryan Woodring <rdwoodring@gmail.com> Co-authored-by: Ryan Woodring <rwoodring@systemsalliance.com> Co-authored-by: jlloyd-widen <82222659+jlloyd-widen@users.noreply.github.com> Co-authored-by: Sam Hughes <sam@cube.dev> Co-authored-by: Mike Nitsenko <mnitsenko@gmail.com> Co-authored-by: Dmitriy Rusov <rusov.d.s@gmail.com> Co-authored-by: Julio Avila <julioley32@gmail.com> Co-authored-by: Andrey Yamanov <tenphi@gmail.com> Co-authored-by: Alex Vasilev <vaspiring@gmail.com> Co-authored-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: josedev-union <70741025+josedev-union@users.noreply.github.com> Co-authored-by: 荆长逯 <jingchanglu@outlook.com> Co-authored-by: Pavel Tiunov <pavel.tiunov@gmail.com> Co-authored-by: waralexrom <108349432+waralexrom@users.noreply.github.com> Co-authored-by: Michael Astashkevich <asmisha@users.noreply.github.com> Co-authored-by: johancube <johan@cube.dev> Co-authored-by: Zachary Welch <zwelch154@gmail.com> Co-authored-by: Maxim <maxim@cube.dev>
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.
No description provided.