@cubejs-backend/testing 0.31.11 → 0.31.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.31.12](https://github.com/cube-js/cube.js/compare/v0.31.11...v0.31.12) (2022-11-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* No column found in case non equals filter query incorrectly matched against rollup with no dimensions ([#5552](https://github.com/cube-js/cube.js/issues/5552)) ([73b3203](https://github.com/cube-js/cube.js/commit/73b3203925bf9d8221001f730bb23272dd4e47e6))
|
|
12
|
+
* TypeError: Cannot read property 'dimension' of undefined for rolling window rollup without time dimension ([#5553](https://github.com/cube-js/cube.js/issues/5553)) ([03c3b6f](https://github.com/cube-js/cube.js/commit/03c3b6f4197ff8e6a77fc6bb7c08e4730cbfde66))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [0.31.11](https://github.com/cube-js/cube.js/compare/v0.31.10...v0.31.11) (2022-11-02)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -3,14 +3,41 @@ import { sql } from './Customers.sql';
|
|
|
3
3
|
|
|
4
4
|
cube(`Customers`, {
|
|
5
5
|
sql: sql('_type_'),
|
|
6
|
+
measures: {
|
|
7
|
+
count: {
|
|
8
|
+
type: `count`,
|
|
9
|
+
},
|
|
10
|
+
runningTotal: {
|
|
11
|
+
type: `count`,
|
|
12
|
+
rollingWindow: {
|
|
13
|
+
trailing: `unbounded`
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
|
|
6
18
|
dimensions: {
|
|
7
19
|
customerId: {
|
|
8
20
|
sql: 'customer_id',
|
|
9
21
|
type: 'string',
|
|
22
|
+
primaryKey: true,
|
|
23
|
+
shown: true,
|
|
10
24
|
},
|
|
11
25
|
customerName: {
|
|
12
26
|
sql: 'customer_name',
|
|
13
27
|
type: 'string',
|
|
14
28
|
},
|
|
15
29
|
},
|
|
30
|
+
|
|
31
|
+
preAggregations: {
|
|
32
|
+
rolling: {
|
|
33
|
+
measures: [
|
|
34
|
+
CUBE.count,
|
|
35
|
+
CUBE.runningTotal,
|
|
36
|
+
],
|
|
37
|
+
refreshKey: {
|
|
38
|
+
every: `1 hour`,
|
|
39
|
+
},
|
|
40
|
+
external: true
|
|
41
|
+
},
|
|
42
|
+
}
|
|
16
43
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-backend/testing",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.12",
|
|
4
4
|
"description": "Cube.js e2e tests",
|
|
5
5
|
"author": "Cube Dev, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"birdbox-fixtures"
|
|
77
77
|
],
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@cubejs-backend/cubestore-driver": "^0.31.
|
|
79
|
+
"@cubejs-backend/cubestore-driver": "^0.31.12",
|
|
80
80
|
"@cubejs-backend/dotenv": "^9.0.2",
|
|
81
|
-
"@cubejs-backend/postgres-driver": "^0.31.
|
|
82
|
-
"@cubejs-backend/query-orchestrator": "^0.31.
|
|
83
|
-
"@cubejs-backend/schema-compiler": "^0.31.
|
|
81
|
+
"@cubejs-backend/postgres-driver": "^0.31.12",
|
|
82
|
+
"@cubejs-backend/query-orchestrator": "^0.31.12",
|
|
83
|
+
"@cubejs-backend/schema-compiler": "^0.31.12",
|
|
84
84
|
"@cubejs-backend/shared": "^0.31.0",
|
|
85
|
-
"@cubejs-backend/testing-shared": "^0.31.
|
|
85
|
+
"@cubejs-backend/testing-shared": "^0.31.12",
|
|
86
86
|
"@cubejs-client/ws-transport": "^0.31.9",
|
|
87
87
|
"dedent": "^0.7.0",
|
|
88
88
|
"fs-extra": "^8.1.0",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"eslintConfig": {
|
|
132
132
|
"extends": "../cubejs-linter"
|
|
133
133
|
},
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "741c9979ab26f04c018e9ba65dddaa5c70428e91"
|
|
135
135
|
}
|