Skip to content

[pull] master from cube-js:master #66

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 5 commits into from
Jul 29, 2025
Merged

[pull] master from cube-js:master #66

merged 5 commits into from
Jul 29, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 29, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

ovr and others added 5 commits July 29, 2025 17:06
)

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]>
@pull pull bot locked and limited conversation to collaborators Jul 29, 2025
@pull pull bot added the ⤵️ pull label Jul 29, 2025
@pull pull bot merged commit 8fd6dcc into code:master Jul 29, 2025
13 of 14 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants