Skip to content

Conversation

@igorlukanin
Copy link
Member

@igorlukanin igorlukanin commented Jul 17, 2025

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

@igorlukanin igorlukanin requested a review from KSDaemon July 17, 2025 16:24
@igorlukanin igorlukanin added the docs Issues that require a documentation improvement label Jul 17, 2025
Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 Nice work!

I left some typos and questions that I hope you'll find useful.

# ...
</CodeTabs>

#### `time_dimension`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about a named time shift specification?

type: count
public: false
```
### `time_shift`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but...
There is no info about relation between measure timeshifts and calendar cubes: how they are related, how matching happens, and how it is processed from the calendar's td definition: if interval+type are defined and when sql is defined.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, it's been described in calendar cubes, but I think it would be useful to at least mention such options here with the link to the full description there...

type: time

time_shift:
- type: prior
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no named examples: name + sql and name + interval + type

ovr and others added 23 commits October 29, 2025 14:35
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.1 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](form-data/form-data@v4.0.1...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Cube generates a burst load of queries for refresh keys. We don't use a queue for cube store queries, but we use an in-memory cache inside QueryQueue. A cache miss leads to a problem where we start executing queries without debouncing.

Cube executes refresh keys in parallel, which DDoSes Cube Store. It's a quick fix to fix this behavior.
…o CSV export bucket (#9810)

* fix tsc build

* fix(snowflake-driver): Set date/timestamp format for exporting data to CSV export bucket
The queue event bus was deprecated and is no longer needed.
…9817)

Cube Store allows updating the heartbeat by path or queue id. Using queue id provides better performance and fixes possible concurrency issues, such as slippage
…ion (#9827)

By default, it's specified as 60 seconds in presto-client. It uses a timer and cancels queries after it.
)

Right now, we use both flags: used and touch. We already had LRU cache for a long time with the touch flag to reduce the number of updates in the Cache Store, but we didn't do it for the used.

This leads to a situation where, for a schema with 100 pre-aggs, we will do 200 cache sets per 1 minute because the default refresh interval is set to 30 seconds.
List of changes:

- Parse explicit `DISTINCT` option with set operators (e.g. `UNION DISTINCT`)
- `array_agg` function can now be prefixed with `pg_catalog.`
- New introspection tables are supported:
  - `pg_auth_members`
  - `pg_available_extension_versions`
  - `pg_cast`
  - `pg_event_trigger`
  - `pg_foreign_data_wrapper`
  - `pg_foreign_server`
  - `pg_foreign_table`
  - `pg_language`
  - `pg_locks`
  - `pg_operator`
  - `pg_rewrite`
  - `pg_tablespace`
  - `pg_timezone_abbrevs`
  - `pg_timezone_names`
  - `pg_user_mapping`
- New introspection functions are supported:
  - `pg_is_in_recovery`
  - `pg_postmaster_start_time`
  - `pg_tablespace_location`
  - `txid_current`
- System field `xmin` added to the following introspection tables:
  - `pg_am`
  - `pg_attribute`
  - `pg_class`
  - `pg_constraint`
  - `pg_description`
  - `pg_extension`
  - `pg_index`
  - `pg_namespace`
  - `pg_proc`
  - `pg_type`
- `pg_namespace`'s `nspacl` field now has correct type (`List(Utf8)`)
- `AGE` function now accepts values of type `xid`
- `"char"` casts are being replaced with `text` casts
- `xid` casts are being replaced with `unsigned int` casts
- New `PgType`s added:
  - `[ARRAY]PGAM`
  - `[ARRAY]PGCAST`
  - `[ARRAY]PGEVENTTRIGGER`
  - `[ARRAY]PGEXTENSION`
  - `[ARRAY]PGFOREIGNDATAWRAPPER`
  - `[ARRAY]PGFOREIGNSERVER`
  - `[ARRAY]PGLANGUAGE`
- `CTID` system field is replaced with `NULL` in data queries

Signed-off-by: Alex Qyoun-ae <[email protected]>
@github-actions github-actions bot added driver:prestodb Issues relating to the PrestoDB driver driver:postgres Issues relating to the Postgres driver driver:hive Issues relating to the Apache Hive driver client:react Issues relating to the React client SDK client:vue Issues relating to the Vue client SDK client:playground Issues relating to the Developer Playground cube store Issues relating to Cube Store driver:mysql-aurora-serverless Issues relating to the AWS MySQL Aurora Serverless driver driver:sqlite Issues relating to the SQLite driver backend:cli Issues relating to the CLI utility driver:druid Issues relating to the Druid driver driver:elasticsearch Issues relating to the ElasticSearch driver driver:crate rust Pull requests that update Rust code driver:dremio driver:questdb javascript Pull requests that update Javascript code driver:firebolt data source driver driver:databricks driver:duckdb driver:trino Issues relating to the Trino driver driver:materialize python driver:pinot cubejs-jdbc-driver labels Oct 29, 2025
@igorlukanin igorlukanin merged commit 212088b into master Oct 29, 2025
6 checks passed
@igorlukanin igorlukanin deleted the docs/calendar-cubes branch October 29, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:cli Issues relating to the CLI utility client:core Issues relating to the JavaScript client SDK client:ngx Issues relating to the Angular client SDK client:playground Issues relating to the Developer Playground client:react Issues relating to the React client SDK client:vue Issues relating to the Vue client SDK cube store Issues relating to Cube Store cubejs-jdbc-driver data source driver docs Issues that require a documentation improvement driver:athena Issues related to the AWS Athena driver driver:bigquery Issues related to the BigQuery driver driver:clickhouse Issues related to the ClickHouse driver driver:crate driver:databricks driver:dremio driver:druid Issues relating to the Druid driver driver:duckdb driver:elasticsearch Issues relating to the ElasticSearch driver driver:firebolt driver:hive Issues relating to the Apache Hive driver driver:materialize driver:mongodb Issues relating to the MongoBI driver driver:mssql Issues relating to the MSSQL driver driver:mysql Issues relating to the MySQL/MariaDB driver driver:mysql-aurora-serverless Issues relating to the AWS MySQL Aurora Serverless driver driver:oracle Issues relating to the Oracle driver driver:pinot driver:postgres Issues relating to the Postgres driver driver:prestodb Issues relating to the PrestoDB driver driver:questdb driver:redshift Issues relating to the Redshift driver driver:snowflake Issues relating to the Snowflake driver driver:sqlite Issues relating to the SQLite driver driver:trino Issues relating to the Trino driver javascript Pull requests that update Javascript code python rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.