Skip to content

Commit

Permalink
Merge branch 'master' into feature/clickhouse_utf8_filter_order
Browse files Browse the repository at this point in the history
  • Loading branch information
casab authored Feb 14, 2025
2 parents a62eb42 + 9956ad7 commit 225c19a
Show file tree
Hide file tree
Showing 159 changed files with 969 additions and 563 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/drivers-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -641,7 +641,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt, clippy
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/cube-js/cube/compare/v1.2.4...v1.2.5) (2025-02-13)


### Bug Fixes

* **cubesql:** Fix SELECT DISTINCT on pushdown ([#9144](https://github.com/cube-js/cube/issues/9144)) ([6483f66](https://github.com/cube-js/cube/commit/6483f66c826ad9a638af8770850219d923b3e7d9))


### Features

* Upgrade rust to 1.84.1 (stable) ([#9222](https://github.com/cube-js/cube/issues/9222)) ([cfc95b5](https://github.com/cube-js/cube/commit/cfc95b5e5601166d2a0aa388a211d4be66630cd8))





## [1.2.4](https://github.com/cube-js/cube/compare/v1.2.3...v1.2.4) (2025-02-11)

### Bug Fixes
Expand Down
13 changes: 11 additions & 2 deletions docs/components/mdx/YouTubeVideo/YouTubeVideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@ const cn = classnames.bind(styles);

export type YouTubeVideoProps = {
url: string;
aspectRatio?: number;
};

export const YouTubeVideo = ({ url }: YouTubeVideoProps) => {
function formatAspectRatioAsPercentage(aspectRatio: number) {
return `${((1 / aspectRatio) * 100).toFixed(2)}%`;
}

export const YouTubeVideo = ({ url, aspectRatio = 16/9 }: YouTubeVideoProps) => {
return (
<div
className={cn('YoutubeVideo__Wrapper')}
style={{ position: 'relative', paddingBottom: '56.25%', height: 0 }}
style={{
position: 'relative',
paddingBottom: formatAspectRatioAsPercentage(aspectRatio),
height: 0
}}
>
<iframe
src={url}
Expand Down
5 changes: 4 additions & 1 deletion docs/pages/guides/recipes/auth/sql-api-ldap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ API](/product/apis-integrations/sql-api) with a LDAP catalog. You can use
this approach to enable single sign-on (SSO) experience in BI tools
connecting to Cube for your end users.

<YouTubeVideo url="https://www.youtube.com/embed/vGF7n4WWriA?si=RIk7G3a4lO2DnNJj"/>
<YouTubeVideo
url="https://www.youtube.com/embed/vGF7n4WWriA"
aspectRatio={4/2.25}
/>

## Use case

Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/apis-integrations/google-sheets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ add-on, you will be able to [create reports via pivot
table](#create-reports-via-pivot-table) and work with [saved
reports](#work-with-saved-reports).

<YouTubeVideo url="https://www.youtube.com/embed/qPp9hroqd4g"/>
<YouTubeVideo
url="https://www.youtube.com/embed/qPp9hroqd4g"
aspectRatio={4/2.56}
/>

## Installation

Expand Down
5 changes: 5 additions & 0 deletions docs/pages/product/auth/data-access-policies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ and [row-level](#row-level-access) security for different [data access roles](#d
You can define access control rules in data model files, allowing for an organized
and maintainable approach to security.

<YouTubeVideo
url="https://www.youtube.com/embed/yJfnYB27wSQ"
aspectRatio={4/3}
/>

## Data access roles

Each request to Cube includes a [security context][ref-sec-ctx], which can contain
Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/configuration/data-sources/ksqldb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ ksqlDB support is available in Cube Cloud on the

See how you can use ksqlDB and Cube Cloud to power real-time analytics in Power BI:

<YouTubeVideo url="https://www.youtube.com/embed/RD_HZ7xE8G0" />
<YouTubeVideo
url="https://www.youtube.com/embed/RD_HZ7xE8G0"
aspectRatio={4/3.55}
/>

## Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
[Google Sheets][link-google-sheets] is an online, collaborative spreadsheets
application.

<YouTubeVideo url="https://www.youtube.com/embed/qPp9hroqd4g"/>
<YouTubeVideo
url="https://www.youtube.com/embed/qPp9hroqd4g"
aspectRatio={4/2.56}
/>

## Connect from Cube Cloud

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ is an interactive data visualization software product developed by Microsoft.
See how you can use [ksqlDB][ref-ksqldb] and Cube Cloud to power real-time
analytics in Power BI:

<YouTubeVideo url="https://www.youtube.com/embed/RD_HZ7xE8G0" />
<YouTubeVideo
url="https://www.youtube.com/embed/RD_HZ7xE8G0"
aspectRatio={4/3.55}
/>

## Connect from Cube Cloud

Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/deployment/cloud/deployments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ and programmatic [configuration options][ref-config-options].

Watch the following video to for a step-by-step walkthrough:

<YouTubeVideo url="https://www.youtube.com/embed/XeaZPUQRC8M" />
<YouTubeVideo
url="https://www.youtube.com/embed/XeaZPUQRC8M"
aspectRatio={4/2.78}
/>

Exploring the demo deployment is a great way to understand how Cube works.
Use the [data model editor][ref-data-model] to review the data model and
Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/workspace/audit-log.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ You can also choose an [Audit Log tier](/product/deployment/cloud/pricing#audit-
Read below about [collected events](#event-types). Also, see how you can [enable](#configuration)
Audit Log, [view events](#viewing-events), and [download](#downloading-events) them.

<YouTubeVideo url="https://www.youtube.com/embed/W7hQzLS3wPc" />
<YouTubeVideo
url="https://www.youtube.com/embed/W7hQzLS3wPc"
aspectRatio={4/2.64}
/>

## Configuration

Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/workspace/integrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ The Integrations page is available in Cube Cloud on

</SuccessBox>

<YouTubeVideo url="https://www.youtube.com/embed/-N5dDeGqv8M" />
<YouTubeVideo
url="https://www.youtube.com/embed/-N5dDeGqv8M"
aspectRatio={4/2.83}
/>

You can [manage integrations](#manage-integrations), connect a [specific
tool](#connect-specific-tools), or [view API credentials](#view-api-credentials).
Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/workspace/monitoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ destinations][vector-docs-sinks], also known as _sinks_.

<Diagram src="https://ucarecdn.com/17dbc263-2be4-4b7d-9f34-270cd66e878b/" />

<YouTubeVideo url="https://www.youtube.com/embed/iPD0axEYU6k" />
<YouTubeVideo
url="https://www.youtube.com/embed/iPD0axEYU6k"
aspectRatio={4/2.87}
/>

## Guides

Expand Down
5 changes: 5 additions & 0 deletions docs/pages/product/workspace/playground.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ for them, [compose](#composing-queries) a query from scratch or [paste](#pasting
an exsiting query, view [results](#viewing-results), check a [generated
query](#viewing-a-generated-query), or copy equivalent [queries for data APIs](#copying-api-queries).

<YouTubeVideo
url="https://www.youtube.com/embed/4epojUSQvOU"
aspectRatio={4/3}
/>

## Viewing the data model

You can see a list of all cubes or views in the sidebar on the left. Choose either
Expand Down
5 changes: 4 additions & 1 deletion docs/pages/product/workspace/vizard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ Chart Prototyping is part of [Playground][ref-playground].
To access Chart Prototyping from Playground, compose and run a query, expand
the <Btn>Chart</Btn> pane, and click <Btn>Code</Btn> on the right:

<YouTubeVideo url="https://www.youtube.com/embed/OFiJ8AVNHQw" />
<YouTubeVideo
url="https://www.youtube.com/embed/OFiJ8AVNHQw"
aspectRatio={4/3.07}
/>

## Preview the chart

Expand Down
5 changes: 5 additions & 0 deletions docs/pages/reference/data-model/hierarchies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ You can also preview hierarchies in [Playground][ref-playground].

Any hierarchy should have the following parameters: [`name`](#name) and [`levels`](#levels).

<YouTubeVideo
url="https://www.youtube.com/embed/Y5E6DmH_Hz4"
aspectRatio={4/3}
/>

## Parameters

### `name`
Expand Down
11 changes: 8 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"version": "1.2.4",
"version": "1.2.5",
"npmClient": "yarn",
"command": {
"bootstrap": {
"npmClient": "yarn",
"npmClientArgs": ["--frozen-lockfile"]
"npmClientArgs": [
"--frozen-lockfile"
]
},
"version": {
"allowBranch": ["master", "lts/*"]
"allowBranch": [
"master",
"lts/*"
]
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
Expand Down
Loading

0 comments on commit 225c19a

Please sign in to comment.