Skip to content

Commit b030d8a

Browse files
committed
remove snapshots hints
1 parent 1e4896d commit b030d8a

25 files changed

+136
-136
lines changed

packages/cubejs-testing-drivers/src/tests/testQueries.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@ from
19161916
from
19171917
"public"."BigECommerce" "BigECommerce"
19181918
`);
1919-
expect(res.rows).toMatchSnapshot('post_aggregate_percentage_of_total');
1919+
expect(res.rows).toMatchSnapshot();
19201920
});
19211921

19221922
executePg('SQL API: reuse params', async (connection) => {
@@ -1951,7 +1951,7 @@ from
19511951
order by 1, 2, 3
19521952
19531953
`);
1954-
expect(res.rows).toMatchSnapshot('simple_rollup');
1954+
expect(res.rows).toMatchSnapshot();
19551955
});
19561956

19571957
executePg('SQL API: Complex Rollup', async (connection) => {
@@ -1965,7 +1965,7 @@ from
19651965
order by 1, 2, 3, 4
19661966
19671967
`);
1968-
expect(res.rows).toMatchSnapshot('complex_rollup');
1968+
expect(res.rows).toMatchSnapshot();
19691969
});
19701970

19711971
executePg('SQL API: Rollup with aliases', async (connection) => {
@@ -1979,7 +1979,7 @@ from
19791979
order by 1, 2, 3, 4
19801980
19811981
`);
1982-
expect(res.rows).toMatchSnapshot('rollup_with_aliases');
1982+
expect(res.rows).toMatchSnapshot();
19831983
});
19841984

19851985
executePg('SQL API: Rollup over exprs', async (connection) => {
@@ -1993,7 +1993,7 @@ from
19931993
order by 1, 2, 3
19941994
19951995
`);
1996-
expect(res.rows).toMatchSnapshot('rollup_over_exprs');
1996+
expect(res.rows).toMatchSnapshot();
19971997
});
19981998

19991999
executePg('SQL API: Nested Rollup', async (connection) => {
@@ -2012,7 +2012,7 @@ from
20122012
order by 1, 2, 3
20132013
20142014
`);
2015-
expect(res.rows).toMatchSnapshot('nested_rollup');
2015+
expect(res.rows).toMatchSnapshot();
20162016
});
20172017

20182018
executePg('SQL API: Nested Rollup with aliases', async (connection) => {
@@ -2031,7 +2031,7 @@ from
20312031
order by 1, 2, 3
20322032
20332033
`);
2034-
expect(res.rows).toMatchSnapshot('nested_rollup_with_aliases');
2034+
expect(res.rows).toMatchSnapshot();
20352035
});
20362036
executePg('SQL API: Nested Rollup over asterisk', async (connection) => {
20372037
const res = await connection.query(`
@@ -2046,7 +2046,7 @@ from
20462046
order by 1, 2, 3
20472047
20482048
`);
2049-
expect(res.rows).toMatchSnapshot('nested_rollup_over_asterisk');
2049+
expect(res.rows).toMatchSnapshot();
20502050
});
20512051
executePg('SQL API: Extended nested Rollup over asterisk', async (connection) => {
20522052
const res = await connection.query(`
@@ -2065,7 +2065,7 @@ from
20652065
) q2 ORDER BY q2.order, q2.row DESC limit 100
20662066
20672067
`);
2068-
expect(res.rows).toMatchSnapshot('extended_nested_rollup_over_asterisk');
2068+
expect(res.rows).toMatchSnapshot();
20692069
});
20702070

20712071
executePg('SQL API: metabase count cast to float32 from push down', async (connection) => {

packages/cubejs-testing-drivers/test/__snapshots__/athena-export-bucket-s3-full.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Array [
7575
]
7676
`;
7777

78-
exports[`Queries with the @cubejs-backend/athena-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
78+
exports[`Queries with the @cubejs-backend/athena-driver SQL API: post-aggregate percentage of total 1`] = `
7979
Array [
8080
Object {
8181
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/bigquery-export-bucket-gcs-full.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ Array [
16361636
]
16371637
`;
16381638

1639-
exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Rollup over exprs: rollup_over_exprs 1`] = `
1639+
exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Rollup over exprs 1`] = `
16401640
Array [
16411641
Object {
16421642
"SUM(ECommerce.count)": "1",
@@ -2447,7 +2447,7 @@ Array [
24472447
]
24482448
`;
24492449

2450-
exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Simple Rollup: simple_rollup 1`] = `
2450+
exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Simple Rollup 1`] = `
24512451
Array [
24522452
Object {
24532453
"SUM(ECommerce.count)": "1",
@@ -3303,7 +3303,7 @@ Array [
33033303
]
33043304
`;
33053305

3306-
exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
3306+
exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: post-aggregate percentage of total 1`] = `
33073307
Array [
33083308
Object {
33093309
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-export-bucket-s3-full.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ Array [
16731673
]
16741674
`;
16751675

1676-
exports[`Queries with the @cubejs-backend/clickhouse-driver export-bucket-s3 SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
1676+
exports[`Queries with the @cubejs-backend/clickhouse-driver export-bucket-s3 SQL API: post-aggregate percentage of total 1`] = `
16771677
Array [
16781678
Object {
16791679
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-export-bucket-s3-prefix-full.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ Array [
16731673
]
16741674
`;
16751675

1676-
exports[`Queries with the @cubejs-backend/clickhouse-driver export-bucket-s3-prefix SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
1676+
exports[`Queries with the @cubejs-backend/clickhouse-driver export-bucket-s3-prefix SQL API: post-aggregate percentage of total 1`] = `
16771677
Array [
16781678
Object {
16791679
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-full.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ Array [
16731673
]
16741674
`;
16751675

1676-
exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
1676+
exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: post-aggregate percentage of total 1`] = `
16771677
Array [
16781678
Object {
16791679
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Complex Rollup: complex_rollup 1`] = `
3+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Complex Rollup 1`] = `
44
Array [
55
Object {
66
"SUM(ECommerce.count)": "1",
@@ -1811,7 +1811,7 @@ Array [
18111811
]
18121812
`;
18131813

1814-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = `
1814+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Nested Rollup over asterisk 1`] = `
18151815
Array [
18161816
Object {
18171817
"SUM(a.count)": "44",
@@ -2614,7 +2614,7 @@ Array [
26142614
]
26152615
`;
26162616

2617-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Rollup over exprs: rollup_over_exprs 1`] = `
2617+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Rollup over exprs 1`] = `
26182618
Array [
26192619
Object {
26202620
"SUM(ECommerce.count)": "1",
@@ -3417,7 +3417,7 @@ Array [
34173417
]
34183418
`;
34193419

3420-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Rollup with aliases: rollup_with_aliases 1`] = `
3420+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Rollup with aliases 1`] = `
34213421
Array [
34223422
Object {
34233423
"SUM(ECommerce.count)": "1",
@@ -5222,7 +5222,7 @@ Array [
52225222
]
52235223
`;
52245224

5225-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Simple Rollup: simple_rollup 1`] = `
5225+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Simple Rollup 1`] = `
52265226
Array [
52275227
Object {
52285228
"SUM(ECommerce.count)": "1",
@@ -6078,7 +6078,7 @@ Array [
60786078
]
60796079
`;
60806080

6081-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
6081+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: post-aggregate percentage of total 1`] = `
60826082
Array [
60836083
Object {
60846084
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Complex Rollup: complex_rollup 1`] = `
3+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Complex Rollup 1`] = `
44
Array [
55
Object {
66
"SUM(ECommerce.count)": "1",
@@ -1811,7 +1811,7 @@ Array [
18111811
]
18121812
`;
18131813

1814-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = `
1814+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Nested Rollup over asterisk 1`] = `
18151815
Array [
18161816
Object {
18171817
"SUM(a.count)": "44",
@@ -2614,7 +2614,7 @@ Array [
26142614
]
26152615
`;
26162616

2617-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Rollup over exprs: rollup_over_exprs 1`] = `
2617+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Rollup over exprs 1`] = `
26182618
Array [
26192619
Object {
26202620
"SUM(ECommerce.count)": "1",
@@ -3417,7 +3417,7 @@ Array [
34173417
]
34183418
`;
34193419

3420-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Rollup with aliases: rollup_with_aliases 1`] = `
3420+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Rollup with aliases 1`] = `
34213421
Array [
34223422
Object {
34233423
"SUM(ECommerce.count)": "1",
@@ -5222,7 +5222,7 @@ Array [
52225222
]
52235223
`;
52245224

5225-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Simple Rollup: simple_rollup 1`] = `
5225+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Simple Rollup 1`] = `
52265226
Array [
52275227
Object {
52285228
"SUM(ECommerce.count)": "1",
@@ -6078,7 +6078,7 @@ Array [
60786078
]
60796079
`;
60806080

6081-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
6081+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: post-aggregate percentage of total 1`] = `
60826082
Array [
60836083
Object {
60846084
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Complex Rollup: complex_rollup 1`] = `
3+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Complex Rollup 1`] = `
44
Array [
55
Object {
66
"SUM(ECommerce.count)": "1",
@@ -1811,7 +1811,7 @@ Array [
18111811
]
18121812
`;
18131813

1814-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = `
1814+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Nested Rollup over asterisk 1`] = `
18151815
Array [
18161816
Object {
18171817
"SUM(a.count)": "44",
@@ -2614,7 +2614,7 @@ Array [
26142614
]
26152615
`;
26162616

2617-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Rollup over exprs: rollup_over_exprs 1`] = `
2617+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Rollup over exprs 1`] = `
26182618
Array [
26192619
Object {
26202620
"SUM(ECommerce.count)": "1",
@@ -3417,7 +3417,7 @@ Array [
34173417
]
34183418
`;
34193419

3420-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Rollup with aliases: rollup_with_aliases 1`] = `
3420+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Rollup with aliases 1`] = `
34213421
Array [
34223422
Object {
34233423
"SUM(ECommerce.count)": "1",
@@ -5222,7 +5222,7 @@ Array [
52225222
]
52235223
`;
52245224

5225-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Simple Rollup: simple_rollup 1`] = `
5225+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Simple Rollup 1`] = `
52265226
Array [
52275227
Object {
52285228
"SUM(ECommerce.count)": "1",
@@ -6078,7 +6078,7 @@ Array [
60786078
]
60796079
`;
60806080

6081-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
6081+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: post-aggregate percentage of total 1`] = `
60826082
Array [
60836083
Object {
60846084
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Complex Rollup: complex_rollup 1`] = `
3+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Complex Rollup 1`] = `
44
Array [
55
Object {
66
"SUM(ECommerce.count)": "1",
@@ -1811,7 +1811,7 @@ Array [
18111811
]
18121812
`;
18131813

1814-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = `
1814+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Nested Rollup over asterisk 1`] = `
18151815
Array [
18161816
Object {
18171817
"SUM(a.count)": "44",
@@ -2614,7 +2614,7 @@ Array [
26142614
]
26152615
`;
26162616

2617-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Rollup over exprs: rollup_over_exprs 1`] = `
2617+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Rollup over exprs 1`] = `
26182618
Array [
26192619
Object {
26202620
"SUM(ECommerce.count)": "1",
@@ -3417,7 +3417,7 @@ Array [
34173417
]
34183418
`;
34193419

3420-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Rollup with aliases: rollup_with_aliases 1`] = `
3420+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Rollup with aliases 1`] = `
34213421
Array [
34223422
Object {
34233423
"SUM(ECommerce.count)": "1",
@@ -5222,7 +5222,7 @@ Array [
52225222
]
52235223
`;
52245224

5225-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Simple Rollup: simple_rollup 1`] = `
5225+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Simple Rollup 1`] = `
52265226
Array [
52275227
Object {
52285228
"SUM(ECommerce.count)": "1",
@@ -6078,7 +6078,7 @@ Array [
60786078
]
60796079
`;
60806080

6081-
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = `
6081+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: post-aggregate percentage of total 1`] = `
60826082
Array [
60836083
Object {
60846084
"SUM(BigECommerce.percentageOfTotalForStatus)": 100,

0 commit comments

Comments
 (0)