Skip to content

Conversation

@Spark-NF
Copy link
Member

No description provided.

tenphi and others added 30 commits September 12, 2024 16:39
…ping (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>
BREAKING CHANGE: Node.js is EOL, it was deprecated in v0.35.0
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
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
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
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.
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.
* 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
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
…8706)

Usage of upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
BREAKING CHANGE: This functionality was deprecated starting from v0.26.0. Please migrate to SECURITY_CONTEXT.
@linear
Copy link

linear bot commented Dec 30, 2025

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

8 participants