@@ -11116,6 +11116,171 @@ Array [
1111611116]
1111711117`;
1111811118
11119+ exports[`Queries with the @cubejs-backend/postgres-driver querying BigECommerce with Retail Calendar: totalProfitRetailMonthAgo 1`] = `
11120+ Array [
11121+ Object {
11122+ "BigECommerce.totalProfit": "6.19920",
11123+ "BigECommerce.totalProfitRetailMonthAgo": "21.09800",
11124+ "RetailCalendar.retail_date": "2020-02-01T00:00:00.000",
11125+ "RetailCalendar.retail_date.month": "2020-02-01T00:00:00.000",
11126+ },
11127+ Object {
11128+ "BigECommerce.totalProfit": "583.59450",
11129+ "BigECommerce.totalProfitRetailMonthAgo": "6.19920",
11130+ "RetailCalendar.retail_date": "2020-03-01T00:00:00.000",
11131+ "RetailCalendar.retail_date.month": "2020-03-01T00:00:00.000",
11132+ },
11133+ Object {
11134+ "BigECommerce.totalProfit": "6.41760",
11135+ "BigECommerce.totalProfitRetailMonthAgo": "583.59450",
11136+ "RetailCalendar.retail_date": "2020-04-01T00:00:00.000",
11137+ "RetailCalendar.retail_date.month": "2020-04-01T00:00:00.000",
11138+ },
11139+ Object {
11140+ "BigECommerce.totalProfit": "353.68490",
11141+ "BigECommerce.totalProfitRetailMonthAgo": "6.41760",
11142+ "RetailCalendar.retail_date": "2020-05-01T00:00:00.000",
11143+ "RetailCalendar.retail_date.month": "2020-05-01T00:00:00.000",
11144+ },
11145+ Object {
11146+ "BigECommerce.totalProfit": "34.23610",
11147+ "BigECommerce.totalProfitRetailMonthAgo": "353.68490",
11148+ "RetailCalendar.retail_date": "2020-06-01T00:00:00.000",
11149+ "RetailCalendar.retail_date.month": "2020-06-01T00:00:00.000",
11150+ },
11151+ Object {
11152+ "BigECommerce.totalProfit": "139.99700",
11153+ "BigECommerce.totalProfitRetailMonthAgo": "461.13320",
11154+ "RetailCalendar.retail_date": "2020-10-01T00:00:00.000",
11155+ "RetailCalendar.retail_date.month": "2020-10-01T00:00:00.000",
11156+ },
11157+ Object {
11158+ "BigECommerce.totalProfit": "1132.66170",
11159+ "BigECommerce.totalProfitRetailMonthAgo": "657.47630",
11160+ "RetailCalendar.retail_date": "2020-11-01T00:00:00.000",
11161+ "RetailCalendar.retail_date.month": "2020-11-01T00:00:00.000",
11162+ },
11163+ Object {
11164+ "BigECommerce.totalProfit": "303.97370",
11165+ "BigECommerce.totalProfitRetailMonthAgo": "615.18240",
11166+ "RetailCalendar.retail_date": "2020-12-01T00:00:00.000",
11167+ "RetailCalendar.retail_date.month": "2020-12-01T00:00:00.000",
11168+ },
11169+ ]
11170+ `;
11171+
11172+ exports[`Queries with the @cubejs-backend/postgres-driver querying BigECommerce with Retail Calendar: totalProfitRetailWeekAgo 1`] = `
11173+ Array [
11174+ Object {
11175+ "BigECommerce.totalProfit": "569.99050",
11176+ "BigECommerce.totalProfitRetailWeekAgo": "13.60400",
11177+ "RetailCalendar.retail_date": "2020-03-22T00:00:00.000",
11178+ "RetailCalendar.retail_date.week": "2020-03-22T00:00:00.000",
11179+ },
11180+ Object {
11181+ "BigECommerce.totalProfit": "8.50250",
11182+ "BigECommerce.totalProfitRetailWeekAgo": "136.17000",
11183+ "RetailCalendar.retail_date": "2020-05-31T00:00:00.000",
11184+ "RetailCalendar.retail_date.week": "2020-05-31T00:00:00.000",
11185+ },
11186+ Object {
11187+ "BigECommerce.totalProfit": "1.79690",
11188+ "BigECommerce.totalProfitRetailWeekAgo": "8.50250",
11189+ "RetailCalendar.retail_date": "2020-06-07T00:00:00.000",
11190+ "RetailCalendar.retail_date.week": "2020-06-07T00:00:00.000",
11191+ },
11192+ Object {
11193+ "BigECommerce.totalProfit": "31.06600",
11194+ "BigECommerce.totalProfitRetailWeekAgo": "1.79690",
11195+ "RetailCalendar.retail_date": "2020-06-14T00:00:00.000",
11196+ "RetailCalendar.retail_date.week": "2020-06-14T00:00:00.000",
11197+ },
11198+ Object {
11199+ "BigECommerce.totalProfit": "-7.12930",
11200+ "BigECommerce.totalProfitRetailWeekAgo": "31.06600",
11201+ "RetailCalendar.retail_date": "2020-06-21T00:00:00.000",
11202+ "RetailCalendar.retail_date.week": "2020-06-21T00:00:00.000",
11203+ },
11204+ Object {
11205+ "BigECommerce.totalProfit": "15.49800",
11206+ "BigECommerce.totalProfitRetailWeekAgo": "137.25620",
11207+ "RetailCalendar.retail_date": "2020-09-06T00:00:00.000",
11208+ "RetailCalendar.retail_date.week": "2020-09-06T00:00:00.000",
11209+ },
11210+ Object {
11211+ "BigECommerce.totalProfit": "303.17640",
11212+ "BigECommerce.totalProfitRetailWeekAgo": "15.49800",
11213+ "RetailCalendar.retail_date": "2020-09-13T00:00:00.000",
11214+ "RetailCalendar.retail_date.week": "2020-09-13T00:00:00.000",
11215+ },
11216+ Object {
11217+ "BigECommerce.totalProfit": "5.20260",
11218+ "BigECommerce.totalProfitRetailWeekAgo": "303.17640",
11219+ "RetailCalendar.retail_date": "2020-09-20T00:00:00.000",
11220+ "RetailCalendar.retail_date.week": "2020-09-20T00:00:00.000",
11221+ },
11222+ Object {
11223+ "BigECommerce.totalProfit": "7.03980",
11224+ "BigECommerce.totalProfitRetailWeekAgo": "129.29400",
11225+ "RetailCalendar.retail_date": "2020-10-18T00:00:00.000",
11226+ "RetailCalendar.retail_date.week": "2020-10-18T00:00:00.000",
11227+ },
11228+ Object {
11229+ "BigECommerce.totalProfit": "3.66320",
11230+ "BigECommerce.totalProfitRetailWeekAgo": "7.03980",
11231+ "RetailCalendar.retail_date": "2020-10-25T00:00:00.000",
11232+ "RetailCalendar.retail_date.week": "2020-10-25T00:00:00.000",
11233+ },
11234+ Object {
11235+ "BigECommerce.totalProfit": "521.81650",
11236+ "BigECommerce.totalProfitRetailWeekAgo": "3.66320",
11237+ "RetailCalendar.retail_date": "2020-11-01T00:00:00.000",
11238+ "RetailCalendar.retail_date.week": "2020-11-01T00:00:00.000",
11239+ },
11240+ Object {
11241+ "BigECommerce.totalProfit": "31.54760",
11242+ "BigECommerce.totalProfitRetailWeekAgo": "521.81650",
11243+ "RetailCalendar.retail_date": "2020-11-08T00:00:00.000",
11244+ "RetailCalendar.retail_date.week": "2020-11-08T00:00:00.000",
11245+ },
11246+ Object {
11247+ "BigECommerce.totalProfit": "84.32510",
11248+ "BigECommerce.totalProfitRetailWeekAgo": "31.54760",
11249+ "RetailCalendar.retail_date": "2020-11-15T00:00:00.000",
11250+ "RetailCalendar.retail_date.week": "2020-11-15T00:00:00.000",
11251+ },
11252+ Object {
11253+ "BigECommerce.totalProfit": "494.97250",
11254+ "BigECommerce.totalProfitRetailWeekAgo": "84.32510",
11255+ "RetailCalendar.retail_date": "2020-11-22T00:00:00.000",
11256+ "RetailCalendar.retail_date.week": "2020-11-22T00:00:00.000",
11257+ },
11258+ Object {
11259+ "BigECommerce.totalProfit": "-225.86980",
11260+ "BigECommerce.totalProfitRetailWeekAgo": "494.97250",
11261+ "RetailCalendar.retail_date": "2020-11-29T00:00:00.000",
11262+ "RetailCalendar.retail_date.week": "2020-11-29T00:00:00.000",
11263+ },
11264+ Object {
11265+ "BigECommerce.totalProfit": "53.34880",
11266+ "BigECommerce.totalProfitRetailWeekAgo": "476.49470",
11267+ "RetailCalendar.retail_date": "2020-12-20T00:00:00.000",
11268+ "RetailCalendar.retail_date.week": "2020-12-20T00:00:00.000",
11269+ },
11270+ ]
11271+ `;
11272+
11273+ exports[`Queries with the @cubejs-backend/postgres-driver querying BigECommerce with Retail Calendar: totalProfitRetailYearAgo 1`] = `
11274+ Array [
11275+ Object {
11276+ "BigECommerce.totalProfit": "3021.89790",
11277+ "BigECommerce.totalProfitRetailYearAgo": "29.65480",
11278+ "RetailCalendar.retail_date": "2020-02-02T00:00:00.000",
11279+ "RetailCalendar.retail_date.year": "2020-02-02T00:00:00.000",
11280+ },
11281+ ]
11282+ `;
11283+
1111911284exports[`Queries with the @cubejs-backend/postgres-driver querying BigECommerce: filtering with possible casts 1`] = `
1112011285Array [
1112111286 Object {
0 commit comments