Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: image build

env:
TAG: v0.35.79-gorgias
TAG: v0.35.80-gorgias

on:
push:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
DOCKER_BUILD_RECORD_UPLOAD: false
DOCKER_BUILD_SUMMARY: true
with:
push: ${{ github.ref == 'refs/heads/gorgias' }}
push: true # ${{ github.ref == 'refs/heads/gorgias' }}
context: rust/cubestore
file: rust/cubestore/gorgias.Dockerfile
tags: |
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.35.80](https://github.com/cube-js/cube/compare/v0.35.79...v0.35.80) (2024-09-09)


### Bug Fixes

* **schema-compiler:** propagate FILTER_PARAMS from view to inner cube's SELECT ([#8466](https://github.com/cube-js/cube/issues/8466)) ([c0466fd](https://github.com/cube-js/cube/commit/c0466fde9b7a3834159d7ec592362edcab6d9795))


### Features

* **cubesql:** Fill pg_description table with cube and members descriptions ([#8618](https://github.com/cube-js/cube/issues/8618)) ([2288c18](https://github.com/cube-js/cube/commit/2288c18bf30d1f3a3299b235fe9b4405d2cb7463))
* **cubesql:** Support join with type coercion ([#8608](https://github.com/cube-js/cube/issues/8608)) ([46b3a36](https://github.com/cube-js/cube/commit/46b3a36936f0f00805144714f0dd87a3c50a5e0a))





## [0.35.79](https://github.com/cube-js/cube/compare/v0.35.78...v0.35.79) (2024-09-04)


Expand Down
31 changes: 19 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ The CI will build and push the image for the `gorgisa` branch but only build the
Locall, build and tag the image with:

```bash
docker build -t us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.79-gorgias -f rust/cubestore/gorgias.Dockerfile rust/cubestore

docker tag us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.79-gorgias \
us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cubestore:v0.35.79-gorgias
docker tag us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.79-gorgias \
us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cubestore:v0.35.79-gorgias
docker tag us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.79-gorgias \
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubestore:v0.35.79-gorgias
docker build -t us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.80-gorgias -f rust/cubestore/gorgias.Dockerfile rust/cubestore

docker tag us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.80-gorgias \
us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cubestore:v0.35.80-gorgias
docker tag us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.80-gorgias \
us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cubestore:v0.35.80-gorgias
docker tag us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.80-gorgias \
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubestore:v0.35.80-gorgias
```

Then push the image to the registry with:
Expand All @@ -23,10 +23,10 @@ Then push the image to the registry with:
gcloud auth configure-docker us-east1-docker.pkg.dev --quiet
gcloud auth configure-docker us-central1-docker.pkg.dev --quiet

docker push us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.79-gorgias
docker push us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cubestore:v0.35.79-gorgias
docker push us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cubestore:v0.35.79-gorgias
docker push us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubestore:v0.35.79-gorgias
docker push us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubestore:v0.35.80-gorgias
docker push us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cubestore:v0.35.80-gorgias
docker push us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cubestore:v0.35.80-gorgias
docker push us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubestore:v0.35.80-gorgias

```

Expand All @@ -43,6 +43,13 @@ docker push us-central1-docker.pkg.dev/gorgias-revenue-production/container-imag
<a href="https://cube.dev?ref=github-readme"><img src="https://raw.githubusercontent.com/cube-js/cube/master/docs/content/cube-logo-with-bg.png" alt="Cube — Semantic Layer for Data Applications" width="300px"></a>
</p>

<p align="center">
<a href="https://cube.dev/events/cube-rollup-london?ref=github-readme">
<img src="https://ucarecdn.com/15574460-3a9f-4fd2-aa86-0edae2d5bcaf/"/>
</a>
</p>
<br/>

[Website](https://cube.dev?ref=github-readme) • [Getting Started](https://cube.dev/docs/getting-started?ref=github-readme) • [Docs](https://cube.dev/docs?ref=github-readme) • [Examples](https://cube.dev/docs/examples?ref=github-readme) • [Blog](https://cube.dev/blog?ref=github-readme) • [Slack](https://slack.cube.dev?ref=github-readme) • [Twitter](https://twitter.com/the_cube_dev)

[![npm version](https://badge.fury.io/js/%40cubejs-backend%2Fserver.svg)](https://badge.fury.io/js/%40cubejs-backend%2Fserver)
Expand Down
3 changes: 1 addition & 2 deletions docs/pages/guides/style-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ This style guide is intended to be used by:

## Syntax

- Default to [YAML syntax][ref-syntax-model] for data modeling. Use JavaScript
syntax for dynamic data models only.
- Default to [YAML syntax][ref-syntax-model] for data modeling.
- Use [snake case][ref-syntax-naming] when using either YAML or JavaScript
syntax.
- Follow the recommendations on [YAML syntax][self-yaml] and [SQL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ cubes:

- name: completed_percentage
type: number
sql: "({completed_count} / NULLIF({count}, 0)) * 100.0"
sql: "(100.0 * {CUBE.completed_count} / NULLIF({CUBE.count}, 0))"
format: percent
```

Expand Down
12 changes: 9 additions & 3 deletions docs/pages/product/data-modeling/syntax.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ model

Cube supports two ways to define data model files: with [YAML][wiki-yaml] or
JavaScript syntax. YAML data model files should have the `.yml` extension,
whereas JavaScript data model files should end with `.js`.
whereas JavaScript data model files should end with `.js`. You can mix YAML and
JavaScript files within a single data model.

<CodeTabs>

Expand All @@ -63,11 +64,15 @@ cubes:

</CodeTabs>

You define the data model statically or build [dynamic data
You can define the data model statically or build [dynamic data
models][ref-dynamic-data-models] programmatically. YAML data models use
[Jinja and Python][ref-dynamic-data-models-jinja] whereas JavaScript data
models use [JavaScript][ref-dynamic-data-models-js].

It is [recommended][ref-style-guide] to default to YAML syntax because of its
simplicity and readability. However, JavaScript might provide more flexibility
for dynamic data modeling.

## Naming

Common rules apply to names of entities within the data model. All names must:
Expand Down Expand Up @@ -586,4 +591,5 @@ defining dynamic data models.
[wiki-yaml]: https://en.wikipedia.org/wiki/YAML
[link-snowflake-listagg]: https://docs.snowflake.com/en/sql-reference/functions/listagg
[link-bigquery-stringagg]: https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#string_agg
[link-sql-udf]: https://en.wikipedia.org/wiki/User-defined_function#Databases
[link-sql-udf]: https://en.wikipedia.org/wiki/User-defined_function#Databases
[ref-style-guide]: /guides/style-guide
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ within the `measures` block.
```yaml
- name: completed_percentage
type: number
sql: "({completed_count} / NULLIF({count}, 0)) * 100.0"
sql: "(100.0 * {CUBE.completed_count} / NULLIF({CUBE.count}, 0))"
format: percent
```

Expand Down Expand Up @@ -159,7 +159,7 @@ cubes:

- name: completed_percentage
type: number
sql: "({completed_count} / NULLIF({count}, 0)) * 100.0"
sql: "(100.0 * {CUBE.completed_count} / NULLIF({CUBE.count}, 0))"
format: percent
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ within the `measures` block.
```yaml
- name: completed_percentage
type: number
sql: "({completed_count} / NULLIF({count}, 0)) * 100.0"
sql: "(100.0 * {CUBE.completed_count} / NULLIF({CUBE.count}, 0))"
format: percent
```

Expand Down Expand Up @@ -154,7 +154,7 @@ cubes:

- name: completed_percentage
type: number
sql: "({completed_count} / NULLIF({count}, 0)) * 100.0"
sql: "(100.0 * {CUBE.completed_count} / NULLIF({CUBE.count}, 0))"
format: percent
```

Expand Down
10 changes: 10 additions & 0 deletions docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ const config: DocsThemeConfig = {
</BlogButton>
</div>
)
},
toc: {
extraContent: (
<div>
<br/>
<a target="_blank" href="https://cube.dev/events/cube-rollup-london?ref=github-readme">
<img src="https://ucarecdn.com/f90c6d06-abac-45d5-92be-4217ee26f096/"/>
</a>
</div>
)
}
};

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.35.79",
"version": "0.35.80",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
Expand Down
8 changes: 8 additions & 0 deletions packages/cubejs-api-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.35.80](https://github.com/cube-js/cube/compare/v0.35.79...v0.35.80) (2024-09-09)

**Note:** Version bump only for package @cubejs-backend/api-gateway





## [0.35.79](https://github.com/cube-js/cube/compare/v0.35.78...v0.35.79) (2024-09-04)


Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cubejs-backend/api-gateway",
"description": "Cube.js API Gateway",
"author": "Cube Dev, Inc.",
"version": "0.35.79",
"version": "0.35.80",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand All @@ -27,7 +27,7 @@
"dist/src/*"
],
"dependencies": {
"@cubejs-backend/native": "^0.35.79",
"@cubejs-backend/native": "^0.35.80",
"@cubejs-backend/shared": "^0.35.67",
"@ungap/structured-clone": "^0.3.4",
"body-parser": "^1.19.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/cubejs-athena-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.35.80](https://github.com/cube-js/cube/compare/v0.35.79...v0.35.80) (2024-09-09)

**Note:** Version bump only for package @cubejs-backend/athena-driver





## [0.35.79](https://github.com/cube-js/cube/compare/v0.35.78...v0.35.79) (2024-09-04)

**Note:** Version bump only for package @cubejs-backend/athena-driver
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-athena-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cubejs-backend/athena-driver",
"description": "Cube.js Athena database driver",
"author": "Cube Dev, Inc.",
"version": "0.35.79",
"version": "0.35.80",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand Down Expand Up @@ -37,7 +37,7 @@
},
"devDependencies": {
"@cubejs-backend/linter": "^0.35.0",
"@cubejs-backend/testing-shared": "^0.35.79",
"@cubejs-backend/testing-shared": "^0.35.80",
"@types/ramda": "^0.27.40",
"typescript": "~5.2.2"
},
Expand Down
11 changes: 11 additions & 0 deletions packages/cubejs-backend-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.35.80](https://github.com/cube-js/cube/compare/v0.35.79...v0.35.80) (2024-09-09)


### Features

* **cubesql:** Support join with type coercion ([#8608](https://github.com/cube-js/cube/issues/8608)) ([46b3a36](https://github.com/cube-js/cube/commit/46b3a36936f0f00805144714f0dd87a3c50a5e0a))





## [0.35.79](https://github.com/cube-js/cube/compare/v0.35.78...v0.35.79) (2024-09-04)


Expand Down
13 changes: 6 additions & 7 deletions packages/cubejs-backend-native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/cubejs-backend-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cubejs-backend/native",
"version": "0.35.79",
"version": "0.35.80",
"author": "Cube Dev, Inc.",
"description": "Native module for Cube.js (binding to Rust codebase)",
"main": "dist/js/index.js",
Expand Down Expand Up @@ -43,7 +43,7 @@
"uuid": "^8.3.2"
},
"dependencies": {
"@cubejs-backend/cubesql": "^0.35.79",
"@cubejs-backend/cubesql": "^0.35.80",
"@cubejs-backend/shared": "^0.35.67",
"@cubejs-infra/post-installer": "^0.0.7"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/cubejs-bigquery-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.35.80](https://github.com/cube-js/cube/compare/v0.35.79...v0.35.80) (2024-09-09)

**Note:** Version bump only for package @cubejs-backend/bigquery-driver





## [0.35.79](https://github.com/cube-js/cube/compare/v0.35.78...v0.35.79) (2024-09-04)

**Note:** Version bump only for package @cubejs-backend/bigquery-driver
Expand Down
Loading