@@ -5772,6 +5772,179 @@ Array [
57725772]
57735773` ;
57745774
5775+ exports [` Queries with the @cubejs-backend/athena-driver querying ECommerce: partitioned pre-agg higher granularity 1` ] = `
5776+ Array [
5777+ Object {
5778+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5779+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5780+ " ECommerce.productName" : " Anderson Hickey Conga Table Tops & Accessories" ,
5781+ " ECommerce.totalQuantity" : " 2" ,
5782+ } ,
5783+ Object {
5784+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5785+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5786+ " ECommerce.productName" : " Balt Solid Wood Rectangular Table" ,
5787+ " ECommerce.totalQuantity" : " 2" ,
5788+ } ,
5789+ Object {
5790+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5791+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5792+ " ECommerce.productName" : " Canon PC1080F Personal Copier" ,
5793+ " ECommerce.totalQuantity" : " 7" ,
5794+ } ,
5795+ Object {
5796+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5797+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5798+ " ECommerce.productName" : " DMI Eclipse Executive Suite Bookcases" ,
5799+ " ECommerce.totalQuantity" : " 1" ,
5800+ } ,
5801+ Object {
5802+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5803+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5804+ " ECommerce.productName" : " Global Adaptabilites Bookcase, Cherry/Storm Gray Finish" ,
5805+ " ECommerce.totalQuantity" : " 8" ,
5806+ } ,
5807+ Object {
5808+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5809+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5810+ " ECommerce.productName" : " Google Nexus 5" ,
5811+ " ECommerce.totalQuantity" : " 11" ,
5812+ } ,
5813+ Object {
5814+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5815+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5816+ " ECommerce.productName" : " Google Nexus 6" ,
5817+ " ECommerce.totalQuantity" : " 3" ,
5818+ } ,
5819+ Object {
5820+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5821+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5822+ " ECommerce.productName" : " Google Nexus 7" ,
5823+ " ECommerce.totalQuantity" : " 3" ,
5824+ } ,
5825+ Object {
5826+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5827+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5828+ " ECommerce.productName" : " HTC One" ,
5829+ " ECommerce.totalQuantity" : " 3" ,
5830+ } ,
5831+ Object {
5832+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5833+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5834+ " ECommerce.productName" : " Harbour Creations 67200 Series Stacking Chairs" ,
5835+ " ECommerce.totalQuantity" : " 11" ,
5836+ } ,
5837+ Object {
5838+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5839+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5840+ " ECommerce.productName" : " Hewlett Packard 610 Color Digital Copier / Printer" ,
5841+ " ECommerce.totalQuantity" : " 3" ,
5842+ } ,
5843+ Object {
5844+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5845+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5846+ " ECommerce.productName" : " Iceberg Nesting Folding Chair, 19w x 6d x 43h" ,
5847+ " ECommerce.totalQuantity" : " 4" ,
5848+ } ,
5849+ Object {
5850+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5851+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5852+ " ECommerce.productName" : " Kingston Digital DataTraveler 16GB USB 2.0" ,
5853+ " ECommerce.totalQuantity" : " 5" ,
5854+ } ,
5855+ Object {
5856+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5857+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5858+ " ECommerce.productName" : " Kingston Digital DataTraveler 16GB USB 2.1" ,
5859+ " ECommerce.totalQuantity" : " 5" ,
5860+ } ,
5861+ Object {
5862+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5863+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5864+ " ECommerce.productName" : " Kingston Digital DataTraveler 16GB USB 2.2" ,
5865+ " ECommerce.totalQuantity" : " 8" ,
5866+ } ,
5867+ Object {
5868+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5869+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5870+ " ECommerce.productName" : " Lexmark 20R1285 X6650 Wireless All-in-One Printer" ,
5871+ " ECommerce.totalQuantity" : " 6" ,
5872+ } ,
5873+ Object {
5874+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5875+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5876+ " ECommerce.productName" : " Linden 10 Round Wall Clock, Black" ,
5877+ " ECommerce.totalQuantity" : " 14" ,
5878+ } ,
5879+ Object {
5880+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5881+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5882+ " ECommerce.productName" : " Logitech diNovo Edge Keyboard" ,
5883+ " ECommerce.totalQuantity" : " 9" ,
5884+ } ,
5885+ Object {
5886+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5887+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5888+ " ECommerce.productName" : " Magna Visual Magnetic Picture Hangers" ,
5889+ " ECommerce.totalQuantity" : " 4" ,
5890+ } ,
5891+ Object {
5892+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5893+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5894+ " ECommerce.productName" : " OIC #2 Pencils, Medium Soft" ,
5895+ " ECommerce.totalQuantity" : " 9" ,
5896+ } ,
5897+ Object {
5898+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5899+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5900+ " ECommerce.productName" : " Okidata C610n Printer" ,
5901+ " ECommerce.totalQuantity" : " 2" ,
5902+ } ,
5903+ Object {
5904+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5905+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5906+ " ECommerce.productName" : " Panasonic KP-380BK Classic Electric Pencil Sharpener" ,
5907+ " ECommerce.totalQuantity" : " 8" ,
5908+ } ,
5909+ Object {
5910+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5911+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5912+ " ECommerce.productName" : " Plymouth Boxed Rubber Bands by Plymouth" ,
5913+ " ECommerce.totalQuantity" : " 11" ,
5914+ } ,
5915+ Object {
5916+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5917+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5918+ " ECommerce.productName" : " Project Tote Personal File" ,
5919+ " ECommerce.totalQuantity" : " 1" ,
5920+ } ,
5921+ Object {
5922+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5923+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5924+ " ECommerce.productName" : " Recycled Eldon Regeneration Jumbo File" ,
5925+ " ECommerce.totalQuantity" : " 4" ,
5926+ } ,
5927+ Object {
5928+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5929+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5930+ " ECommerce.productName" : " Tyvek Side-Opening Peel & Seel Expanding Envelopes" ,
5931+ " ECommerce.totalQuantity" : " 2" ,
5932+ } ,
5933+ Object {
5934+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5935+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5936+ " ECommerce.productName" : " Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box" ,
5937+ " ECommerce.totalQuantity" : " 11" ,
5938+ } ,
5939+ Object {
5940+ " ECommerce.orderDate" : " 2020-01-01T00:00:00.000" ,
5941+ " ECommerce.orderDate.year" : " 2020-01-01T00:00:00.000" ,
5942+ " ECommerce.productName" : " Wausau Papers Astrobrights Colored Envelopes" ,
5943+ " ECommerce.totalQuantity" : " 3" ,
5944+ } ,
5945+ ]
5946+ ` ;
5947+
57755948exports [` Queries with the @cubejs-backend/athena-driver querying ECommerce: total quantity, avg discount, total sales, total profit by product + order + total -- noisy test 1` ] = `
57765949Array [
57775950 Object {
0 commit comments