|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: multi-stage group by time dimension 1`] = ` |
4 | | -Array [ |
5 | | - Object { |
6 | | - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", |
7 | | - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", |
8 | | - "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", |
9 | | - "BigECommerce.totalProfit": "29.65480", |
10 | | - "BigECommerce.totalProfitForQuarter": "619.44850", |
11 | | - }, |
12 | | - Object { |
13 | | - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", |
14 | | - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", |
15 | | - "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", |
16 | | - "BigECommerce.totalProfit": "6.19920", |
17 | | - "BigECommerce.totalProfitForQuarter": "619.44850", |
18 | | - }, |
19 | | - Object { |
20 | | - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", |
21 | | - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", |
22 | | - "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", |
23 | | - "BigECommerce.totalProfit": "583.59450", |
24 | | - "BigECommerce.totalProfitForQuarter": "619.44850", |
25 | | - }, |
26 | | - Object { |
27 | | - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", |
28 | | - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", |
29 | | - "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", |
30 | | - "BigECommerce.totalProfit": "6.41760", |
31 | | - "BigECommerce.totalProfitForQuarter": "394.33860", |
32 | | - }, |
33 | | - Object { |
34 | | - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", |
35 | | - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", |
36 | | - "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", |
37 | | - "BigECommerce.totalProfit": "353.68490", |
38 | | - "BigECommerce.totalProfitForQuarter": "394.33860", |
39 | | - }, |
40 | | - Object { |
41 | | - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", |
42 | | - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", |
43 | | - "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", |
44 | | - "BigECommerce.totalProfit": "34.23610", |
45 | | - "BigECommerce.totalProfitForQuarter": "394.33860", |
46 | | - }, |
47 | | - Object { |
48 | | - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", |
49 | | - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", |
50 | | - "BigECommerce.orderDate.quarter": "2020-07-01T00:00:00.000", |
51 | | - "BigECommerce.totalProfit": "461.13320", |
52 | | - "BigECommerce.totalProfitForQuarter": "461.13320", |
53 | | - }, |
54 | | - Object { |
55 | | - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", |
56 | | - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", |
57 | | - "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", |
58 | | - "BigECommerce.totalProfit": "139.99700", |
59 | | - "BigECommerce.totalProfitForQuarter": "1576.63240", |
60 | | - }, |
61 | | - Object { |
62 | | - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", |
63 | | - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", |
64 | | - "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", |
65 | | - "BigECommerce.totalProfit": "1132.66170", |
66 | | - "BigECommerce.totalProfitForQuarter": "1576.63240", |
67 | | - }, |
68 | | - Object { |
69 | | - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", |
70 | | - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", |
71 | | - "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", |
72 | | - "BigECommerce.totalProfit": "303.97370", |
73 | | - "BigECommerce.totalProfitForQuarter": "1576.63240", |
74 | | - }, |
75 | | -] |
76 | | -`; |
77 | | - |
78 | 3 | exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Complex Rollup 1`] = ` |
79 | 4 | Array [ |
80 | 5 | Object { |
@@ -11813,6 +11738,81 @@ Array [ |
11813 | 11738 | ] |
11814 | 11739 | `; |
11815 | 11740 |
|
| 11741 | +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: multi-stage group by time dimension 1`] = ` |
| 11742 | +Array [ |
| 11743 | + Object { |
| 11744 | + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", |
| 11745 | + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", |
| 11746 | + "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", |
| 11747 | + "BigECommerce.totalProfit": "29.6548", |
| 11748 | + "BigECommerce.totalProfitForQuarter": "619.4485", |
| 11749 | + }, |
| 11750 | + Object { |
| 11751 | + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", |
| 11752 | + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", |
| 11753 | + "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", |
| 11754 | + "BigECommerce.totalProfit": "6.1992", |
| 11755 | + "BigECommerce.totalProfitForQuarter": "619.4485", |
| 11756 | + }, |
| 11757 | + Object { |
| 11758 | + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", |
| 11759 | + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", |
| 11760 | + "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", |
| 11761 | + "BigECommerce.totalProfit": "583.5945", |
| 11762 | + "BigECommerce.totalProfitForQuarter": "619.4485", |
| 11763 | + }, |
| 11764 | + Object { |
| 11765 | + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", |
| 11766 | + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", |
| 11767 | + "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", |
| 11768 | + "BigECommerce.totalProfit": "6.4176", |
| 11769 | + "BigECommerce.totalProfitForQuarter": "394.3386", |
| 11770 | + }, |
| 11771 | + Object { |
| 11772 | + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", |
| 11773 | + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", |
| 11774 | + "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", |
| 11775 | + "BigECommerce.totalProfit": "353.6849", |
| 11776 | + "BigECommerce.totalProfitForQuarter": "394.3386", |
| 11777 | + }, |
| 11778 | + Object { |
| 11779 | + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", |
| 11780 | + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", |
| 11781 | + "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", |
| 11782 | + "BigECommerce.totalProfit": "34.2361", |
| 11783 | + "BigECommerce.totalProfitForQuarter": "394.3386", |
| 11784 | + }, |
| 11785 | + Object { |
| 11786 | + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", |
| 11787 | + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", |
| 11788 | + "BigECommerce.orderDate.quarter": "2020-07-01T00:00:00.000", |
| 11789 | + "BigECommerce.totalProfit": "461.1332", |
| 11790 | + "BigECommerce.totalProfitForQuarter": "461.1332", |
| 11791 | + }, |
| 11792 | + Object { |
| 11793 | + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", |
| 11794 | + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", |
| 11795 | + "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", |
| 11796 | + "BigECommerce.totalProfit": "139.9970", |
| 11797 | + "BigECommerce.totalProfitForQuarter": "1576.6324", |
| 11798 | + }, |
| 11799 | + Object { |
| 11800 | + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", |
| 11801 | + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", |
| 11802 | + "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", |
| 11803 | + "BigECommerce.totalProfit": "1132.6617", |
| 11804 | + "BigECommerce.totalProfitForQuarter": "1576.6324", |
| 11805 | + }, |
| 11806 | + Object { |
| 11807 | + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", |
| 11808 | + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", |
| 11809 | + "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", |
| 11810 | + "BigECommerce.totalProfit": "303.9737", |
| 11811 | + "BigECommerce.totalProfitForQuarter": "1576.6324", |
| 11812 | + }, |
| 11813 | +] |
| 11814 | +`; |
| 11815 | + |
11816 | 11816 | exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: partitioned pre-agg 1`] = ` |
11817 | 11817 | Array [ |
11818 | 11818 | Object { |
|
0 commit comments