@@ -6260,6 +6260,171 @@ Array [
62606260]
62616261` ;
62626262
6263+ exports [` Queries with the @cubejs-backend/bigquery-driver querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1` ] = `
6264+ Array [
6265+ Object {
6266+ " BigECommerce.count" : 1 ,
6267+ " BigECommerce.totalCountRetailMonthAgo" : 1 ,
6268+ " RetailCalendar.retail_date" : " 2020-02-01T00:00:00.000" ,
6269+ " RetailCalendar.retail_date.month" : " 2020-02-01T00:00:00.000" ,
6270+ } ,
6271+ Object {
6272+ " BigECommerce.count" : 2 ,
6273+ " BigECommerce.totalCountRetailMonthAgo" : 1 ,
6274+ " RetailCalendar.retail_date" : " 2020-03-01T00:00:00.000" ,
6275+ " RetailCalendar.retail_date.month" : " 2020-03-01T00:00:00.000" ,
6276+ } ,
6277+ Object {
6278+ " BigECommerce.count" : 1 ,
6279+ " BigECommerce.totalCountRetailMonthAgo" : 2 ,
6280+ " RetailCalendar.retail_date" : " 2020-04-01T00:00:00.000" ,
6281+ " RetailCalendar.retail_date.month" : " 2020-04-01T00:00:00.000" ,
6282+ } ,
6283+ Object {
6284+ " BigECommerce.count" : 5 ,
6285+ " BigECommerce.totalCountRetailMonthAgo" : 1 ,
6286+ " RetailCalendar.retail_date" : " 2020-05-01T00:00:00.000" ,
6287+ " RetailCalendar.retail_date.month" : " 2020-05-01T00:00:00.000" ,
6288+ } ,
6289+ Object {
6290+ " BigECommerce.count" : 7 ,
6291+ " BigECommerce.totalCountRetailMonthAgo" : 5 ,
6292+ " RetailCalendar.retail_date" : " 2020-06-01T00:00:00.000" ,
6293+ " RetailCalendar.retail_date.month" : " 2020-06-01T00:00:00.000" ,
6294+ } ,
6295+ Object {
6296+ " BigECommerce.count" : 4 ,
6297+ " BigECommerce.totalCountRetailMonthAgo" : 6 ,
6298+ " RetailCalendar.retail_date" : " 2020-10-01T00:00:00.000" ,
6299+ " RetailCalendar.retail_date.month" : " 2020-10-01T00:00:00.000" ,
6300+ } ,
6301+ Object {
6302+ " BigECommerce.count" : 9 ,
6303+ " BigECommerce.totalCountRetailMonthAgo" : 5 ,
6304+ " RetailCalendar.retail_date" : " 2020-11-01T00:00:00.000" ,
6305+ " RetailCalendar.retail_date.month" : " 2020-11-01T00:00:00.000" ,
6306+ } ,
6307+ Object {
6308+ " BigECommerce.count" : 7 ,
6309+ " BigECommerce.totalCountRetailMonthAgo" : 8 ,
6310+ " RetailCalendar.retail_date" : " 2020-12-01T00:00:00.000" ,
6311+ " RetailCalendar.retail_date.month" : " 2020-12-01T00:00:00.000" ,
6312+ } ,
6313+ ]
6314+ ` ;
6315+
6316+ exports [` Queries with the @cubejs-backend/bigquery-driver querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1` ] = `
6317+ Array [
6318+ Object {
6319+ " BigECommerce.count" : 1 ,
6320+ " BigECommerce.totalCountRetailWeekAgo" : 1 ,
6321+ " RetailCalendar.retail_date" : " 2020-03-22T00:00:00.000" ,
6322+ " RetailCalendar.retail_date.week" : " 2020-03-22T00:00:00.000" ,
6323+ } ,
6324+ Object {
6325+ " BigECommerce.count" : 1 ,
6326+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6327+ " RetailCalendar.retail_date" : " 2020-05-31T00:00:00.000" ,
6328+ " RetailCalendar.retail_date.week" : " 2020-05-31T00:00:00.000" ,
6329+ } ,
6330+ Object {
6331+ " BigECommerce.count" : 2 ,
6332+ " BigECommerce.totalCountRetailWeekAgo" : 1 ,
6333+ " RetailCalendar.retail_date" : " 2020-06-07T00:00:00.000" ,
6334+ " RetailCalendar.retail_date.week" : " 2020-06-07T00:00:00.000" ,
6335+ } ,
6336+ Object {
6337+ " BigECommerce.count" : 2 ,
6338+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6339+ " RetailCalendar.retail_date" : " 2020-06-14T00:00:00.000" ,
6340+ " RetailCalendar.retail_date.week" : " 2020-06-14T00:00:00.000" ,
6341+ } ,
6342+ Object {
6343+ " BigECommerce.count" : 2 ,
6344+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6345+ " RetailCalendar.retail_date" : " 2020-06-21T00:00:00.000" ,
6346+ " RetailCalendar.retail_date.week" : " 2020-06-21T00:00:00.000" ,
6347+ } ,
6348+ Object {
6349+ " BigECommerce.count" : 1 ,
6350+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6351+ " RetailCalendar.retail_date" : " 2020-09-06T00:00:00.000" ,
6352+ " RetailCalendar.retail_date.week" : " 2020-09-06T00:00:00.000" ,
6353+ } ,
6354+ Object {
6355+ " BigECommerce.count" : 2 ,
6356+ " BigECommerce.totalCountRetailWeekAgo" : 1 ,
6357+ " RetailCalendar.retail_date" : " 2020-09-13T00:00:00.000" ,
6358+ " RetailCalendar.retail_date.week" : " 2020-09-13T00:00:00.000" ,
6359+ } ,
6360+ Object {
6361+ " BigECommerce.count" : 1 ,
6362+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6363+ " RetailCalendar.retail_date" : " 2020-09-20T00:00:00.000" ,
6364+ " RetailCalendar.retail_date.week" : " 2020-09-20T00:00:00.000" ,
6365+ } ,
6366+ Object {
6367+ " BigECommerce.count" : 2 ,
6368+ " BigECommerce.totalCountRetailWeekAgo" : 1 ,
6369+ " RetailCalendar.retail_date" : " 2020-10-18T00:00:00.000" ,
6370+ " RetailCalendar.retail_date.week" : " 2020-10-18T00:00:00.000" ,
6371+ } ,
6372+ Object {
6373+ " BigECommerce.count" : 1 ,
6374+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6375+ " RetailCalendar.retail_date" : " 2020-10-25T00:00:00.000" ,
6376+ " RetailCalendar.retail_date.week" : " 2020-10-25T00:00:00.000" ,
6377+ } ,
6378+ Object {
6379+ " BigECommerce.count" : 3 ,
6380+ " BigECommerce.totalCountRetailWeekAgo" : 1 ,
6381+ " RetailCalendar.retail_date" : " 2020-11-01T00:00:00.000" ,
6382+ " RetailCalendar.retail_date.week" : " 2020-11-01T00:00:00.000" ,
6383+ } ,
6384+ Object {
6385+ " BigECommerce.count" : 2 ,
6386+ " BigECommerce.totalCountRetailWeekAgo" : 3 ,
6387+ " RetailCalendar.retail_date" : " 2020-11-08T00:00:00.000" ,
6388+ " RetailCalendar.retail_date.week" : " 2020-11-08T00:00:00.000" ,
6389+ } ,
6390+ Object {
6391+ " BigECommerce.count" : 3 ,
6392+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6393+ " RetailCalendar.retail_date" : " 2020-11-15T00:00:00.000" ,
6394+ " RetailCalendar.retail_date.week" : " 2020-11-15T00:00:00.000" ,
6395+ } ,
6396+ Object {
6397+ " BigECommerce.count" : 1 ,
6398+ " BigECommerce.totalCountRetailWeekAgo" : 3 ,
6399+ " RetailCalendar.retail_date" : " 2020-11-22T00:00:00.000" ,
6400+ " RetailCalendar.retail_date.week" : " 2020-11-22T00:00:00.000" ,
6401+ } ,
6402+ Object {
6403+ " BigECommerce.count" : 3 ,
6404+ " BigECommerce.totalCountRetailWeekAgo" : 1 ,
6405+ " RetailCalendar.retail_date" : " 2020-11-29T00:00:00.000" ,
6406+ " RetailCalendar.retail_date.week" : " 2020-11-29T00:00:00.000" ,
6407+ } ,
6408+ Object {
6409+ " BigECommerce.count" : 2 ,
6410+ " BigECommerce.totalCountRetailWeekAgo" : 2 ,
6411+ " RetailCalendar.retail_date" : " 2020-12-20T00:00:00.000" ,
6412+ " RetailCalendar.retail_date.week" : " 2020-12-20T00:00:00.000" ,
6413+ } ,
6414+ ]
6415+ ` ;
6416+
6417+ exports [` Queries with the @cubejs-backend/bigquery-driver querying BigECommerce with Retail Calendar: totalCountRetailYearAgo 1` ] = `
6418+ Array [
6419+ Object {
6420+ " BigECommerce.count" : 42 ,
6421+ " BigECommerce.totalCountRetailYearAgo" : 2 ,
6422+ " RetailCalendar.retail_date" : " 2020-02-02T00:00:00.000" ,
6423+ " RetailCalendar.retail_date.year" : " 2020-02-02T00:00:00.000" ,
6424+ } ,
6425+ ]
6426+ ` ;
6427+
62636428exports [` Queries with the @cubejs-backend/bigquery-driver querying BigECommerce: filtering with possible casts 1` ] = `
62646429Array [
62656430 Object {
0 commit comments