@cubejs-backend/testing 0.29.30 → 0.29.31
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,17 @@
|
|
|
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.29.31](https://github.com/cube-js/cube.js/compare/v0.29.30...v0.29.31) (2022-03-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **athena:** Fixes export bucket location. Fixes column order. ([#4183](https://github.com/cube-js/cube.js/issues/4183)) ([abd40a7](https://github.com/cube-js/cube.js/commit/abd40a79e360cd9a9eceeb56a450102bd782f3d9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.29.30](https://github.com/cube-js/cube.js/compare/v0.29.29...v0.29.30) (2022-03-04)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
cube(`OrdersPA`, {
|
|
2
2
|
sql: `
|
|
3
|
-
select 1 as id, 100 as amount, 'new' status
|
|
3
|
+
select 1 as id2, 100.1 as amount2, 'new' as status2, 1 as id, 100.1 as amount, 'new' as status
|
|
4
4
|
UNION ALL
|
|
5
|
-
select 2 as id, 200 as amount, 'new' status
|
|
5
|
+
select 2 as id2, 200.2 as amount2, 'new' as status2, 2 as id, 200.2 as amount, 'new' as status
|
|
6
6
|
UNION ALL
|
|
7
|
-
select 3 as id, 300 as amount, 'processed' status
|
|
7
|
+
select 3 as id2, 300.3 as amount2, 'processed' as status2, 3 as id, 300.3 as amount, 'processed' as status
|
|
8
8
|
UNION ALL
|
|
9
|
-
select 4 as id, 500 as amount, 'processed' status
|
|
9
|
+
select 4 as id2, 500.5 as amount2, 'processed' as status2, 4 as id, 500.5 as amount, 'processed' as status
|
|
10
10
|
UNION ALL
|
|
11
|
-
select 5 as id, 600 as amount, 'shipped' status
|
|
11
|
+
select 5 as id2, 600.6 as amount2, 'shipped' as status2, 5 as id, 600.6 as amount, 'shipped' as status
|
|
12
12
|
`,
|
|
13
13
|
|
|
14
14
|
preAggregations: {
|
|
15
15
|
orderStatus: {
|
|
16
|
-
measures: [CUBE.
|
|
17
|
-
dimensions: [CUBE.status],
|
|
16
|
+
measures: [CUBE.amount, CUBE.amount2],
|
|
17
|
+
dimensions: [CUBE.id, CUBE.status, CUBE.id2, CUBE.status2],
|
|
18
18
|
indexes: {
|
|
19
19
|
categoryIndex: {
|
|
20
|
-
columns: [CUBE.status],
|
|
20
|
+
columns: [CUBE.status, CUBE.status2],
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
refreshKey: {
|
|
@@ -27,21 +27,32 @@ cube(`OrdersPA`, {
|
|
|
27
27
|
},
|
|
28
28
|
|
|
29
29
|
measures: {
|
|
30
|
-
|
|
31
|
-
type: `count`,
|
|
32
|
-
},
|
|
33
|
-
totalAmount: {
|
|
30
|
+
amount: {
|
|
34
31
|
sql: `amount`,
|
|
35
32
|
type: `sum`,
|
|
36
33
|
},
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
amount2: {
|
|
35
|
+
sql: `amount2`,
|
|
36
|
+
type: `sum`,
|
|
39
37
|
},
|
|
40
38
|
},
|
|
39
|
+
|
|
41
40
|
dimensions: {
|
|
41
|
+
id: {
|
|
42
|
+
sql: `id`,
|
|
43
|
+
type: `number`,
|
|
44
|
+
},
|
|
42
45
|
status: {
|
|
43
46
|
sql: `status`,
|
|
44
47
|
type: `string`,
|
|
45
48
|
},
|
|
49
|
+
id2: {
|
|
50
|
+
sql: `id2`,
|
|
51
|
+
type: `number`,
|
|
52
|
+
},
|
|
53
|
+
status2: {
|
|
54
|
+
sql: `status`,
|
|
55
|
+
type: `string`,
|
|
56
|
+
},
|
|
46
57
|
},
|
|
47
58
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-backend/testing",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.31",
|
|
4
4
|
"description": "Cube.js Testing Helpers",
|
|
5
5
|
"author": "Cube Dev, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@cubejs-backend/dotenv": "^9.0.2",
|
|
46
|
-
"@cubejs-backend/query-orchestrator": "^0.29.
|
|
47
|
-
"@cubejs-backend/schema-compiler": "^0.29.
|
|
46
|
+
"@cubejs-backend/query-orchestrator": "^0.29.31",
|
|
47
|
+
"@cubejs-backend/schema-compiler": "^0.29.31",
|
|
48
48
|
"@cubejs-backend/shared": "^0.29.29",
|
|
49
49
|
"@cubejs-client/ws-transport": "^0.29.29",
|
|
50
50
|
"@types/dedent": "^0.7.0",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"eslintConfig": {
|
|
91
91
|
"extends": "../cubejs-linter"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "a5c6aff18e30bd1d085cde84f9cb5d0db24030e8"
|
|
94
94
|
}
|