Skip to content

Commit 0b499ca

Browse files
committed
fix
1 parent 8d6ccd7 commit 0b499ca

File tree

2 files changed

+69
-67
lines changed

2 files changed

+69
-67
lines changed

packages/cubejs-testing-drivers/fixtures/databricks-jdbc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@
267267
"querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo",
268268
"querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo",
269269
"SQL API: Timeshift measure from cube",
270+
"Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo",
271+
"Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo",
270272
"Tesseract: SQL API: Timeshift measure from cube",
271273

272274
"---- Different results comparing to baseQuery version. Need to investigate ----",

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

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -6263,68 +6263,68 @@ Array [
62636263
exports[`Queries with the @cubejs-backend/bigquery-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = `
62646264
Array [
62656265
Object {
6266-
"BigECommerce.count": "1",
6267-
"BigECommerce.totalCountRetailMonthAgo": "1",
6266+
"BigECommerce.count": 1,
6267+
"BigECommerce.totalCountRetailMonthAgo": 1,
62686268
"RetailCalendar.retail_date": "2020-02-01T00:00:00.000",
62696269
"RetailCalendar.retail_date.month": "2020-02-01T00:00:00.000",
62706270
},
62716271
Object {
6272-
"BigECommerce.count": "2",
6273-
"BigECommerce.totalCountRetailMonthAgo": "1",
6272+
"BigECommerce.count": 2,
6273+
"BigECommerce.totalCountRetailMonthAgo": 1,
62746274
"RetailCalendar.retail_date": "2020-03-01T00:00:00.000",
62756275
"RetailCalendar.retail_date.month": "2020-03-01T00:00:00.000",
62766276
},
62776277
Object {
6278-
"BigECommerce.count": "1",
6279-
"BigECommerce.totalCountRetailMonthAgo": "2",
6278+
"BigECommerce.count": 1,
6279+
"BigECommerce.totalCountRetailMonthAgo": 2,
62806280
"RetailCalendar.retail_date": "2020-04-01T00:00:00.000",
62816281
"RetailCalendar.retail_date.month": "2020-04-01T00:00:00.000",
62826282
},
62836283
Object {
6284-
"BigECommerce.count": "5",
6285-
"BigECommerce.totalCountRetailMonthAgo": "1",
6284+
"BigECommerce.count": 5,
6285+
"BigECommerce.totalCountRetailMonthAgo": 1,
62866286
"RetailCalendar.retail_date": "2020-05-01T00:00:00.000",
62876287
"RetailCalendar.retail_date.month": "2020-05-01T00:00:00.000",
62886288
},
62896289
Object {
6290-
"BigECommerce.count": "7",
6291-
"BigECommerce.totalCountRetailMonthAgo": "5",
6290+
"BigECommerce.count": 7,
6291+
"BigECommerce.totalCountRetailMonthAgo": 5,
62926292
"RetailCalendar.retail_date": "2020-06-01T00:00:00.000",
62936293
"RetailCalendar.retail_date.month": "2020-06-01T00:00:00.000",
62946294
},
62956295
Object {
62966296
"BigECommerce.count": null,
6297-
"BigECommerce.totalCountRetailMonthAgo": "7",
6297+
"BigECommerce.totalCountRetailMonthAgo": 7,
62986298
"RetailCalendar.retail_date": "2020-07-01T00:00:00.000",
62996299
"RetailCalendar.retail_date.month": "2020-07-01T00:00:00.000",
63006300
},
63016301
Object {
6302-
"BigECommerce.count": "6",
6302+
"BigECommerce.count": 6,
63036303
"BigECommerce.totalCountRetailMonthAgo": null,
63046304
"RetailCalendar.retail_date": "2020-09-01T00:00:00.000",
63056305
"RetailCalendar.retail_date.month": "2020-09-01T00:00:00.000",
63066306
},
63076307
Object {
6308-
"BigECommerce.count": "4",
6309-
"BigECommerce.totalCountRetailMonthAgo": "6",
6308+
"BigECommerce.count": 4,
6309+
"BigECommerce.totalCountRetailMonthAgo": 6,
63106310
"RetailCalendar.retail_date": "2020-10-01T00:00:00.000",
63116311
"RetailCalendar.retail_date.month": "2020-10-01T00:00:00.000",
63126312
},
63136313
Object {
6314-
"BigECommerce.count": "9",
6315-
"BigECommerce.totalCountRetailMonthAgo": "5",
6314+
"BigECommerce.count": 9,
6315+
"BigECommerce.totalCountRetailMonthAgo": 5,
63166316
"RetailCalendar.retail_date": "2020-11-01T00:00:00.000",
63176317
"RetailCalendar.retail_date.month": "2020-11-01T00:00:00.000",
63186318
},
63196319
Object {
6320-
"BigECommerce.count": "7",
6321-
"BigECommerce.totalCountRetailMonthAgo": "8",
6320+
"BigECommerce.count": 7,
6321+
"BigECommerce.totalCountRetailMonthAgo": 8,
63226322
"RetailCalendar.retail_date": "2020-12-01T00:00:00.000",
63236323
"RetailCalendar.retail_date.month": "2020-12-01T00:00:00.000",
63246324
},
63256325
Object {
63266326
"BigECommerce.count": null,
6327-
"BigECommerce.totalCountRetailMonthAgo": "7",
6327+
"BigECommerce.totalCountRetailMonthAgo": 7,
63286328
"RetailCalendar.retail_date": "2021-01-01T00:00:00.000",
63296329
"RetailCalendar.retail_date.month": "2021-01-01T00:00:00.000",
63306330
},
@@ -6334,194 +6334,194 @@ Array [
63346334
exports[`Queries with the @cubejs-backend/bigquery-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1`] = `
63356335
Array [
63366336
Object {
6337-
"BigECommerce.count": "1",
6337+
"BigECommerce.count": 1,
63386338
"BigECommerce.totalCountRetailWeekAgo": null,
63396339
"RetailCalendar.retail_date": "2020-02-16T00:00:00.000",
63406340
"RetailCalendar.retail_date.week": "2020-02-16T00:00:00.000",
63416341
},
63426342
Object {
63436343
"BigECommerce.count": null,
6344-
"BigECommerce.totalCountRetailWeekAgo": "1",
6344+
"BigECommerce.totalCountRetailWeekAgo": 1,
63456345
"RetailCalendar.retail_date": "2020-02-23T00:00:00.000",
63466346
"RetailCalendar.retail_date.week": "2020-02-23T00:00:00.000",
63476347
},
63486348
Object {
6349-
"BigECommerce.count": "1",
6349+
"BigECommerce.count": 1,
63506350
"BigECommerce.totalCountRetailWeekAgo": null,
63516351
"RetailCalendar.retail_date": "2020-03-15T00:00:00.000",
63526352
"RetailCalendar.retail_date.week": "2020-03-15T00:00:00.000",
63536353
},
63546354
Object {
6355-
"BigECommerce.count": "1",
6356-
"BigECommerce.totalCountRetailWeekAgo": "1",
6355+
"BigECommerce.count": 1,
6356+
"BigECommerce.totalCountRetailWeekAgo": 1,
63576357
"RetailCalendar.retail_date": "2020-03-22T00:00:00.000",
63586358
"RetailCalendar.retail_date.week": "2020-03-22T00:00:00.000",
63596359
},
63606360
Object {
63616361
"BigECommerce.count": null,
6362-
"BigECommerce.totalCountRetailWeekAgo": "1",
6362+
"BigECommerce.totalCountRetailWeekAgo": 1,
63636363
"RetailCalendar.retail_date": "2020-03-29T00:00:00.000",
63646364
"RetailCalendar.retail_date.week": "2020-03-29T00:00:00.000",
63656365
},
63666366
Object {
6367-
"BigECommerce.count": "1",
6367+
"BigECommerce.count": 1,
63686368
"BigECommerce.totalCountRetailWeekAgo": null,
63696369
"RetailCalendar.retail_date": "2020-04-05T00:00:00.000",
63706370
"RetailCalendar.retail_date.week": "2020-04-05T00:00:00.000",
63716371
},
63726372
Object {
63736373
"BigECommerce.count": null,
6374-
"BigECommerce.totalCountRetailWeekAgo": "1",
6374+
"BigECommerce.totalCountRetailWeekAgo": 1,
63756375
"RetailCalendar.retail_date": "2020-04-12T00:00:00.000",
63766376
"RetailCalendar.retail_date.week": "2020-04-12T00:00:00.000",
63776377
},
63786378
Object {
6379-
"BigECommerce.count": "3",
6379+
"BigECommerce.count": 3,
63806380
"BigECommerce.totalCountRetailWeekAgo": null,
63816381
"RetailCalendar.retail_date": "2020-05-10T00:00:00.000",
63826382
"RetailCalendar.retail_date.week": "2020-05-10T00:00:00.000",
63836383
},
63846384
Object {
63856385
"BigECommerce.count": null,
6386-
"BigECommerce.totalCountRetailWeekAgo": "3",
6386+
"BigECommerce.totalCountRetailWeekAgo": 3,
63876387
"RetailCalendar.retail_date": "2020-05-17T00:00:00.000",
63886388
"RetailCalendar.retail_date.week": "2020-05-17T00:00:00.000",
63896389
},
63906390
Object {
6391-
"BigECommerce.count": "2",
6391+
"BigECommerce.count": 2,
63926392
"BigECommerce.totalCountRetailWeekAgo": null,
63936393
"RetailCalendar.retail_date": "2020-05-24T00:00:00.000",
63946394
"RetailCalendar.retail_date.week": "2020-05-24T00:00:00.000",
63956395
},
63966396
Object {
6397-
"BigECommerce.count": "1",
6398-
"BigECommerce.totalCountRetailWeekAgo": "2",
6397+
"BigECommerce.count": 1,
6398+
"BigECommerce.totalCountRetailWeekAgo": 2,
63996399
"RetailCalendar.retail_date": "2020-05-31T00:00:00.000",
64006400
"RetailCalendar.retail_date.week": "2020-05-31T00:00:00.000",
64016401
},
64026402
Object {
6403-
"BigECommerce.count": "2",
6404-
"BigECommerce.totalCountRetailWeekAgo": "1",
6403+
"BigECommerce.count": 2,
6404+
"BigECommerce.totalCountRetailWeekAgo": 1,
64056405
"RetailCalendar.retail_date": "2020-06-07T00:00:00.000",
64066406
"RetailCalendar.retail_date.week": "2020-06-07T00:00:00.000",
64076407
},
64086408
Object {
6409-
"BigECommerce.count": "2",
6410-
"BigECommerce.totalCountRetailWeekAgo": "2",
6409+
"BigECommerce.count": 2,
6410+
"BigECommerce.totalCountRetailWeekAgo": 2,
64116411
"RetailCalendar.retail_date": "2020-06-14T00:00:00.000",
64126412
"RetailCalendar.retail_date.week": "2020-06-14T00:00:00.000",
64136413
},
64146414
Object {
6415-
"BigECommerce.count": "2",
6416-
"BigECommerce.totalCountRetailWeekAgo": "2",
6415+
"BigECommerce.count": 2,
6416+
"BigECommerce.totalCountRetailWeekAgo": 2,
64176417
"RetailCalendar.retail_date": "2020-06-21T00:00:00.000",
64186418
"RetailCalendar.retail_date.week": "2020-06-21T00:00:00.000",
64196419
},
64206420
Object {
64216421
"BigECommerce.count": null,
6422-
"BigECommerce.totalCountRetailWeekAgo": "2",
6422+
"BigECommerce.totalCountRetailWeekAgo": 2,
64236423
"RetailCalendar.retail_date": "2020-06-28T00:00:00.000",
64246424
"RetailCalendar.retail_date.week": "2020-06-28T00:00:00.000",
64256425
},
64266426
Object {
6427-
"BigECommerce.count": "2",
6427+
"BigECommerce.count": 2,
64286428
"BigECommerce.totalCountRetailWeekAgo": null,
64296429
"RetailCalendar.retail_date": "2020-08-30T00:00:00.000",
64306430
"RetailCalendar.retail_date.week": "2020-08-30T00:00:00.000",
64316431
},
64326432
Object {
6433-
"BigECommerce.count": "1",
6434-
"BigECommerce.totalCountRetailWeekAgo": "2",
6433+
"BigECommerce.count": 1,
6434+
"BigECommerce.totalCountRetailWeekAgo": 2,
64356435
"RetailCalendar.retail_date": "2020-09-06T00:00:00.000",
64366436
"RetailCalendar.retail_date.week": "2020-09-06T00:00:00.000",
64376437
},
64386438
Object {
6439-
"BigECommerce.count": "2",
6440-
"BigECommerce.totalCountRetailWeekAgo": "1",
6439+
"BigECommerce.count": 2,
6440+
"BigECommerce.totalCountRetailWeekAgo": 1,
64416441
"RetailCalendar.retail_date": "2020-09-13T00:00:00.000",
64426442
"RetailCalendar.retail_date.week": "2020-09-13T00:00:00.000",
64436443
},
64446444
Object {
6445-
"BigECommerce.count": "1",
6446-
"BigECommerce.totalCountRetailWeekAgo": "2",
6445+
"BigECommerce.count": 1,
6446+
"BigECommerce.totalCountRetailWeekAgo": 2,
64476447
"RetailCalendar.retail_date": "2020-09-20T00:00:00.000",
64486448
"RetailCalendar.retail_date.week": "2020-09-20T00:00:00.000",
64496449
},
64506450
Object {
64516451
"BigECommerce.count": null,
6452-
"BigECommerce.totalCountRetailWeekAgo": "1",
6452+
"BigECommerce.totalCountRetailWeekAgo": 1,
64536453
"RetailCalendar.retail_date": "2020-09-27T00:00:00.000",
64546454
"RetailCalendar.retail_date.week": "2020-09-27T00:00:00.000",
64556455
},
64566456
Object {
6457-
"BigECommerce.count": "1",
6457+
"BigECommerce.count": 1,
64586458
"BigECommerce.totalCountRetailWeekAgo": null,
64596459
"RetailCalendar.retail_date": "2020-10-11T00:00:00.000",
64606460
"RetailCalendar.retail_date.week": "2020-10-11T00:00:00.000",
64616461
},
64626462
Object {
6463-
"BigECommerce.count": "2",
6464-
"BigECommerce.totalCountRetailWeekAgo": "1",
6463+
"BigECommerce.count": 2,
6464+
"BigECommerce.totalCountRetailWeekAgo": 1,
64656465
"RetailCalendar.retail_date": "2020-10-18T00:00:00.000",
64666466
"RetailCalendar.retail_date.week": "2020-10-18T00:00:00.000",
64676467
},
64686468
Object {
6469-
"BigECommerce.count": "1",
6470-
"BigECommerce.totalCountRetailWeekAgo": "2",
6469+
"BigECommerce.count": 1,
6470+
"BigECommerce.totalCountRetailWeekAgo": 2,
64716471
"RetailCalendar.retail_date": "2020-10-25T00:00:00.000",
64726472
"RetailCalendar.retail_date.week": "2020-10-25T00:00:00.000",
64736473
},
64746474
Object {
6475-
"BigECommerce.count": "3",
6476-
"BigECommerce.totalCountRetailWeekAgo": "1",
6475+
"BigECommerce.count": 3,
6476+
"BigECommerce.totalCountRetailWeekAgo": 1,
64776477
"RetailCalendar.retail_date": "2020-11-01T00:00:00.000",
64786478
"RetailCalendar.retail_date.week": "2020-11-01T00:00:00.000",
64796479
},
64806480
Object {
6481-
"BigECommerce.count": "2",
6482-
"BigECommerce.totalCountRetailWeekAgo": "3",
6481+
"BigECommerce.count": 2,
6482+
"BigECommerce.totalCountRetailWeekAgo": 3,
64836483
"RetailCalendar.retail_date": "2020-11-08T00:00:00.000",
64846484
"RetailCalendar.retail_date.week": "2020-11-08T00:00:00.000",
64856485
},
64866486
Object {
6487-
"BigECommerce.count": "3",
6488-
"BigECommerce.totalCountRetailWeekAgo": "2",
6487+
"BigECommerce.count": 3,
6488+
"BigECommerce.totalCountRetailWeekAgo": 2,
64896489
"RetailCalendar.retail_date": "2020-11-15T00:00:00.000",
64906490
"RetailCalendar.retail_date.week": "2020-11-15T00:00:00.000",
64916491
},
64926492
Object {
6493-
"BigECommerce.count": "1",
6494-
"BigECommerce.totalCountRetailWeekAgo": "3",
6493+
"BigECommerce.count": 1,
6494+
"BigECommerce.totalCountRetailWeekAgo": 3,
64956495
"RetailCalendar.retail_date": "2020-11-22T00:00:00.000",
64966496
"RetailCalendar.retail_date.week": "2020-11-22T00:00:00.000",
64976497
},
64986498
Object {
6499-
"BigECommerce.count": "3",
6500-
"BigECommerce.totalCountRetailWeekAgo": "1",
6499+
"BigECommerce.count": 3,
6500+
"BigECommerce.totalCountRetailWeekAgo": 1,
65016501
"RetailCalendar.retail_date": "2020-11-29T00:00:00.000",
65026502
"RetailCalendar.retail_date.week": "2020-11-29T00:00:00.000",
65036503
},
65046504
Object {
65056505
"BigECommerce.count": null,
6506-
"BigECommerce.totalCountRetailWeekAgo": "3",
6506+
"BigECommerce.totalCountRetailWeekAgo": 3,
65076507
"RetailCalendar.retail_date": "2020-12-06T00:00:00.000",
65086508
"RetailCalendar.retail_date.week": "2020-12-06T00:00:00.000",
65096509
},
65106510
Object {
6511-
"BigECommerce.count": "2",
6511+
"BigECommerce.count": 2,
65126512
"BigECommerce.totalCountRetailWeekAgo": null,
65136513
"RetailCalendar.retail_date": "2020-12-13T00:00:00.000",
65146514
"RetailCalendar.retail_date.week": "2020-12-13T00:00:00.000",
65156515
},
65166516
Object {
6517-
"BigECommerce.count": "2",
6518-
"BigECommerce.totalCountRetailWeekAgo": "2",
6517+
"BigECommerce.count": 2,
6518+
"BigECommerce.totalCountRetailWeekAgo": 2,
65196519
"RetailCalendar.retail_date": "2020-12-20T00:00:00.000",
65206520
"RetailCalendar.retail_date.week": "2020-12-20T00:00:00.000",
65216521
},
65226522
Object {
65236523
"BigECommerce.count": null,
6524-
"BigECommerce.totalCountRetailWeekAgo": "2",
6524+
"BigECommerce.totalCountRetailWeekAgo": 2,
65256525
"RetailCalendar.retail_date": "2020-12-27T00:00:00.000",
65266526
"RetailCalendar.retail_date.week": "2020-12-27T00:00:00.000",
65276527
},

0 commit comments

Comments
 (0)