From 47a97e7be0401a5c53f8ca4136784ba596ffd57a Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Mon, 29 Nov 2021 16:57:39 +0530 Subject: [PATCH] FQN changed from bigquery to bigquery_gcp --- docker/run_local_docker.sh | 2 +- .../airflow/dags/airflow_sample_usage.py | 2 +- .../openmetadata_airflow_lineage_example.py | 11 +- .../examples/sample_data/datasets/tables.json | 15251 +++++++++------- ingestion/ingestion_dependency.sh | 4 +- ingestion/pipelines/sample_usage.json | 2 +- ingestion/src/metadata/cmd.py | 2 +- 7 files changed, 8962 insertions(+), 6312 deletions(-) diff --git a/docker/run_local_docker.sh b/docker/run_local_docker.sh index eb47c855524..4892f589128 100755 --- a/docker/run_local_docker.sh +++ b/docker/run_local_docker.sh @@ -21,7 +21,7 @@ cd ../ && mvn -DskipTests clean package cd docker/local-metadata echo "Starting Local Docker Containers" docker-compose down && docker-compose up --build -d -until curl -s -f -o /dev/null "http://localhost:8585/api/v1/tables/name/bigquery.shopify.fact_sale"; do +until curl -s -f -o /dev/null "http://localhost:8585/api/v1/tables/name/bigquery_gcp.shopify.fact_sale"; do printf '.' sleep 2 done diff --git a/ingestion/examples/airflow/dags/airflow_sample_usage.py b/ingestion/examples/airflow/dags/airflow_sample_usage.py index f0aa8b33e40..5fce00ba760 100644 --- a/ingestion/examples/airflow/dags/airflow_sample_usage.py +++ b/ingestion/examples/airflow/dags/airflow_sample_usage.py @@ -43,7 +43,7 @@ config = """ "type": "sample-usage", "config": { "database": "warehouse", - "service_name": "gcp_bigquery", + "service_name": "bigquery_gcp", "sample_data_folder": "./examples/sample_data" } }, diff --git a/ingestion/examples/airflow_lineage/openmetadata_airflow_lineage_example.py b/ingestion/examples/airflow_lineage/openmetadata_airflow_lineage_example.py index 3012b1b8809..5a9f99518b9 100644 --- a/ingestion/examples/airflow_lineage/openmetadata_airflow_lineage_example.py +++ b/ingestion/examples/airflow_lineage/openmetadata_airflow_lineage_example.py @@ -34,16 +34,19 @@ def openmetadata_airflow_lineage_example(): @task( inlets={ "tables": [ - Table(fullyQualifiedName="bigquery.shopify.raw_order"), - Table(fullyQualifiedName="bigquery.shopify.raw_customer") + Table(fullyQualifiedName="bigquery_gcp.shopify.raw_order"), + Table(fullyQualifiedName="bigquery_gcp.shopify.raw_customer"), ], }, - outlets={"tables": [Table(fullyQualifiedName="bigquery.shopify.fact_order")]}, + outlets={ + "tables": [Table(fullyQualifiedName="bigquery_gcp.shopify.fact_order")] + }, ) def generate_data(): - """ write your query to generate ETL""" + """write your query to generate ETL""" pass generate_data() + openmetadata_airflow_lineage_example_dag = openmetadata_airflow_lineage_example() diff --git a/ingestion/examples/sample_data/datasets/tables.json b/ingestion/examples/sample_data/datasets/tables.json index 4c790bfff66..e3d65a9822e 100644 --- a/ingestion/examples/sample_data/datasets/tables.json +++ b/ingestion/examples/sample_data/datasets/tables.json @@ -1,16 +1,7970 @@ { "tables": [ { - "id": "02e7ede6-9cd5-4190-9c36-3fae6b2cbac8", - "name": "raw_customer", + "id": "5866244a-1a5a-433f-8807-71ae2a2ee9bb", + "name": "dim_address", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address", + "description": "This dimension table contains the billing and shipping addresses of customers. You can join this table with the sales table to generate lists of the billing and shipping addresses. Customers can enter their addresses more than once, so the same address can appear in more than one row in this table. This table contains one row per customer address.", + "version": 0.1, + "updatedAt": 1638181701579, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/5866244a-1a5a-433f-8807-71ae2a2ee9bb", "tableType": "Regular", + "columns": [ + { + "name": "address_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Unique identifier for the address.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.shop_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "first_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "First name of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.first_name", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "last_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Last name of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.last_name", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "address1", + "dataType": "VARCHAR", + "dataLength": 500, + "dataTypeDisplay": "varchar", + "description": "The first address line. For example, 150 Elgin St.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address1", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "address2", + "dataType": "VARCHAR", + "dataLength": 500, + "dataTypeDisplay": "varchar", + "description": "The second address line. For example, Suite 800.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address2", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "company", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The name of the customer's business, if one exists.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.company", + "tags": [], + "ordinalPosition": 7 + }, + { + "name": "city", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The name of the city. For example, Palo Alto.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.city", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "region", + "dataType": "VARCHAR", + "dataLength": 512, + "dataTypeDisplay": "varchar", + "description": "The name of the region, such as a province or state, where the customer is located. For example, Ontario or New York. This column is the same as CustomerAddress.province in the Admin API.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.region", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "zip", + "dataType": "VARCHAR", + "dataLength": 10, + "dataTypeDisplay": "varchar", + "description": "The ZIP or postal code. For example, 90210.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.zip", + "tags": [], + "ordinalPosition": 10 + }, + { + "name": "country", + "dataType": "VARCHAR", + "dataLength": 50, + "dataTypeDisplay": "varchar", + "description": "The full name of the country. For example, Canada.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.country", + "tags": [], + "ordinalPosition": 11 + }, + { + "name": "phone", + "dataType": "VARCHAR", + "dataLength": 15, + "dataTypeDisplay": "varchar", + "description": "The phone number of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.phone", + "tags": [], + "ordinalPosition": 12 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 100, + "percentileRank": 45 + }, + "weeklyStats": { + "count": 100, + "percentileRank": 45 + }, + "monthlyStats": { + "count": 100, + "percentileRank": 45 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 35 + } + ] + }, + { + "columnName": "address_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 49 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "address_id", + "shop_id", + "first_name", + "last_name", + "address1", + "address2", + "company", + "city", + "region", + "zip", + "country", + "phone" + ], + "rows": [ + [ + "726567ed-22dc-4aa8-b998-163280792a87", + "de9f715c-9dbf-44ec-bac0-094b40c78929", + "Melissa", + "Daniel", + "3852 Nelson Turnpike", + "70192 Erika Parkway Suite 755", + "Hunt Inc", + "South Sandraport", + "83510 Richards Courts Apt. 433", + "49117", + "Armenia", + "501.141.5901x24691" + ], + [ + "bf3b0526-3ba5-4552-ba61-26b522fbafa2", + "b60e53cc-81e6-413a-a17c-3408a58e5eb4", + "Jerry", + "Cristian", + "56742 Kim Coves Suite 818", + "33957 Houston Extensions", + "Maynard Inc", + "West Julie", + "96792 Carroll Ports", + "49099", + "Italy", + "338-813-3678" + ], + [ + "1692cfee-4d9a-4b80-bfa8-62086c289ceb", + "23d61d75-ed5b-44c3-b66f-961059eb67a2", + "Isabella", + "Jasmine", + "3192 Parker Spurs", + "5973 Jaime Harbors", + "Gallegos-Valentine", + "Lopezmouth", + "1732 Harper Shoals", + "62472", + "Honduras", + "451.736.4860" + ], + [ + "ccc32d81-7870-4997-8721-afb2ba4b8ce5", + "132e7a9a-e42d-49e6-95e8-c9cb334830bc", + "Dylan", + "Diane", + "468 Peter Forest Apt. 655", + "053 Pamela Lock", + "Compton, Porter and Lang", + "Coxfurt", + "1430 Andrew Brook", + "92744", + "Bermuda", + "4827335288" + ], + [ + "e914fc55-e2f1-4b09-b928-a859773d1d17", + "bbe8786c-1947-4334-b0a0-620ee5ac1eed", + "Adrienne", + "Travis", + "3733 Jose Road", + "397 Alexander Green Suite 934", + "Munoz, Saunders and Hawkins", + "Williamsburgh", + "9930 Isaac Burg Suite 005", + "89745", + "Swaziland", + "+1-555-703-4272x33545" + ], + [ + "1e661a16-17a6-4728-967a-07156e0131bb", + "a311bacb-dc0f-4c28-9add-facc7cb2fb01", + "Samuel", + "Jacob", + "97740 Gomez Land", + "216 Pamela Fall Suite 274", + "Simon-Pennington", + "East Melissaview", + "159 Johnson Trail Apt. 366", + "43698", + "Tuvalu", + "613-231-6709" + ], + [ + "7d7c2f68-a24a-4451-ae8a-bfa037136f47", + "7b43251d-15be-42d9-9a0d-232108bc0450", + "Cody", + "Martin", + "81093 Evan Mount", + "398 Wilson Grove Suite 011", + "Brown, Shelton and Smith", + "Port Victorborough", + "3492 Heather Lane", + "81610", + "Ghana", + "7583073922" + ], + [ + "550c2f1f-7461-401e-8c2a-4cf5d2f79e97", + "fe6398ad-6526-46cb-8894-8c92583456c1", + "Katie", + "Bryan", + "01290 Gregory Tunnel", + "56528 Durham Stravenue", + "Mejia PLC", + "Maryton", + "42068 Debra Lake", + "85886", + "Mayotte", + "533.471.5083x47827" + ], + [ + "0f87b8cd-ae32-479c-a1d4-879716cad015", + "8c5a3a06-e9f7-4a20-b1d3-7196345d2d42", + "Charles", + "Kristen", + "53855 Micheal Shore", + "2460 Max Stravenue Apt. 120", + "Greene Inc", + "North Anna", + "286 Valenzuela Route", + "24519", + "Taiwan", + "+1-130-827-2727x695" + ], + [ + "0e9b9340-4bfb-4675-93f0-a8757bd88941", + "291d41ab-0cd4-4055-8a59-87791729b7ce", + "Shannon", + "Darryl", + "988 Yoder Shores", + "679 Jessica Court", + "Wolf, Lin and Stevens", + "Lake Sarahchester", + "2376 Jennifer Lock", + "21771", + "Congo", + "688.747.9449x76540" + ], + [ + "ec86f466-3fc9-4408-9a55-d3ee175581ab", + "142c7157-3502-4b01-ba06-365672feae8f", + "Andrew", + "John", + "70123 Andrews Groves", + "371 Denise Circle", + "Becker and Sons", + "West Marvinview", + "653 Clark Loop", + "28182", + "Bolivia", + "493-376-5210x77390" + ], + [ + "fdb29198-f48d-4d48-ac5d-cf81d8ce2fde", + "b0e24133-f7c9-42b3-97c6-a45381aa78a0", + "James", + "Kyle", + "6935 Joshua Ports", + "7922 Heidi Station Suite 862", + "Gutierrez, English and Powell", + "Schultzstad", + "0321 Rebecca Ramp", + "51583", + "Uzbekistan", + "(002)395-9896x803" + ], + [ + "5ac60536-fb8f-435c-8417-bbe7554444fb", + "01f62c4c-0e79-4de7-95cf-8393ae200874", + "Chris", + "Jason", + "741 Williams Greens Suite 232", + "11589 Stevenson Harbor", + "Chandler Ltd", + "Wilkinsborough", + "8706 Salinas Oval", + "10271", + "Zambia", + "+1-639-795-8566x35704" + ], + [ + "3be8ff1d-4a00-4ae7-9308-014c993449e4", + "8da9dacc-00de-4fc7-a52f-820abcf13a8a", + "Kevin", + "Matthew", + "2936 Jennifer River", + "11107 Robert Brooks Suite 617", + "Williams PLC", + "Port John", + "6033 Heath Club Suite 471", + "29532", + "Somalia", + "051.874.1862x736" + ], + [ + "b1e4a835-b0b8-4468-908a-99893b6a0b12", + "0e378867-7c90-4a9d-9289-7f209a1dc98e", + "David", + "Charlene", + "67495 Gallegos Ville", + "837 Christine Pine Apt. 100", + "Carter LLC", + "East Lauren", + "52882 Michelle Overpass", + "91132", + "Papua New Guinea", + "(931)298-4135x6155" + ], + [ + "1cdaec33-2149-4c06-9005-ec8af9798fd9", + "7c8f7a76-0ba0-4c5a-85fb-1b4515782203", + "Crystal", + "Danielle", + "27386 Dean Stravenue", + "1586 Garcia Terrace", + "Gallagher-Stephens", + "New Jamesfurt", + "77274 Martinez Walk", + "19645", + "Tuvalu", + "001-431-599-1062x35763" + ], + [ + "d555a776-332c-452f-a018-9ffaeca5b226", + "4b215955-b69b-4f43-ac00-ca5f0b8fda73", + "Amanda", + "Ashley", + "139 Robert Union", + "64718 Middleton Forest", + "Taylor, Diaz and Robles", + "Dominiquefort", + "1333 Snow Trace", + "95932", + "Madagascar", + "1463621191" + ], + [ + "3aef3b21-4743-4232-b359-1e661a2c13b4", + "27f7232a-9b98-4f78-9b5a-6d1414aaed19", + "Jose", + "John", + "07012 Johnson Summit Apt. 703", + "95567 Allen Parkway Suite 027", + "Norton-Jordan", + "Port Andreastad", + "032 Kennedy Throughway", + "51984", + "Peru", + "964.295.2208" + ], + [ + "d49ddc25-0b9a-491d-8b20-62ed4327ed90", + "a32ad453-e0bb-4c40-bdb2-05a2729f0efb", + "Theresa", + "Ian", + "66730 Pedro Port", + "8503 Benjamin Forest Suite 284", + "Graham-Hayes", + "Tracytown", + "2070 Williams Islands Apt. 397", + "05633", + "Burkina Faso", + "0851330200" + ], + [ + "7d8ca43b-5e68-48f1-94d2-2cb0fca27898", + "77358d3a-a274-4bad-8a3a-509893a1c568", + "David", + "Melissa", + "1435 Smith Manors Apt. 378", + "2831 Pugh Avenue", + "Morales-Randall", + "Port Jared", + "4623 Cynthia Garden", + "42653", + "Venezuela", + "001-362-317-4334x0501" + ], + [ + "ac6053f4-72b5-485b-8bee-2729652be9db", + "f14917a9-17f6-4bd6-b252-4bb516fd3f26", + "Cindy", + "Scott", + "6349 Susan Junctions Suite 159", + "7251 Richmond Ports", + "Mata-Gonzales", + "Chadborough", + "718 Alejandra Lakes Suite 430", + "09970", + "Guinea-Bissau", + "371.438.4689x2382" + ], + [ + "bb916fd7-5d55-4844-aaae-64289eaeb082", + "cd4451af-ab7d-4475-b107-7ed749f6fcc0", + "Melinda", + "Makayla", + "534 Nelson Shore Suite 308", + "867 Gregory Gardens Apt. 401", + "Cruz, Cole and Hutchinson", + "West Keith", + "201 Rebekah Points Suite 174", + "74248", + "Norway", + "(560)630-0265" + ], + [ + "3d10ab51-7453-4229-a7c3-625a9ddf73e9", + "d7f7cad4-1e42-4036-9f4e-ed551e3d99e5", + "Thomas", + "Michael", + "168 Patricia Street Apt. 309", + "412 Carter Harbor", + "Martinez and Sons", + "North Stephen", + "60841 Wilson Glens", + "03406", + "Armenia", + "9162835306" + ], + [ + "62e39ede-53d8-45c9-8ca2-e9062ffe201e", + "6fe52adc-c34e-439d-b051-849382c112f1", + "Michael", + "Dorothy", + "408 Schneider Mountains Suite 411", + "506 Mayo Alley Suite 660", + "Petersen-Carlson", + "Lake Michele", + "16588 Christopher Manors Suite 832", + "34430", + "Oman", + "529.263.7430" + ], + [ + "0b14b2c3-3118-4316-a38d-39b91fbe3563", + "98c92943-2425-429f-b034-fad87d107096", + "Peggy", + "David", + "23105 Burgess Square", + "198 Gonzalez Stream", + "Erickson Inc", + "Chelseahaven", + "8097 Carlson Junctions", + "94272", + "Guadeloupe", + "001-437-513-2173x14084" + ] + ] + } + }, + { + "id": "948419b0-14db-4b13-9661-cf5095ce277e", + "name": "dim_api_client", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client", + "description": "This dimension table contains a row for each channel or app that your customers use to create orders. Some examples of these include Facebook and Online Store. You can join this table with the sales table to measure channel performance.", + "version": 0.1, + "updatedAt": 1638181701692, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/948419b0-14db-4b13-9661-cf5095ce277e", + "tableType": "Regular", + "columns": [ + { + "name": "api_client_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the API client that called the Shopify API. For example, the ID for the online store is 580111.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "tags": [], + "ordinalPosition": 1 + }, + { + "name": "title", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Full name of the app or channel. For example, Point of Sale, Online Store.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.title", + "tags": [], + "ordinalPosition": 2 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 85, + "percentileRank": 36 + }, + "weeklyStats": { + "count": 85, + "percentileRank": 36 + }, + "monthlyStats": { + "count": 85, + "percentileRank": 36 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "api_client_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.api_client_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.customer_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shop_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 55 + } + ] + } + ] + }, + "sampleData": { + "columns": ["api_client_id", "title"], + "rows": [ + ["9185501c-5fa2-4eb6-973a-e35f66600f3e", "Hot bed kitchen."], + ["005dd1ea-8f09-4ade-8a1a-110f543094d2", "Conference how hair."], + ["9cc2e90a-ec8c-4b7d-84ad-0445c6c9136b", "Company movement."], + ["e303c8e2-cd44-4299-a586-40e04c6e2382", "Tend growth pick."], + ["babff0e6-de9a-46d4-bfbb-82f038b8229e", "Standard interview."], + ["86d6415c-8142-4602-a38b-9d3bc7080566", "Would certainly."], + ["aa385ef5-8c93-4e57-9cae-50611b7f7d61", "Science per way."], + ["08cbef73-3c06-4e91-94aa-d4837221ba10", "Impact resource I."], + ["f419174a-be47-4222-87ec-c128f03e98b7", "Fight common across."], + ["d71b1061-0c60-49f9-a3b7-ab82c7f28738", "Free wide person."], + ["756e6475-a02e-4295-8025-2f5b969661f4", "Bar consumer."], + ["93ea756c-3dc3-42fc-803b-ab48b4c91f64", "Amount leg movement."], + ["d8f870e0-6a81-400a-8f43-721710712680", "Current go whatever."], + ["dee25fb8-9033-44d4-b24b-8abf19a92031", "Quite save suffer."], + ["522efd19-7678-42b7-a1f1-54c9a523d349", "Pull college write."], + ["12f97f09-d2fb-48d4-bb48-66cf6606d34a", "After east middle."], + ["e898c244-dfcf-4b0a-b697-867d1c50241b", "Control property."], + ["33e8f4a6-b9b8-4b2d-88be-cf3c27cb3a2c", "Left know former."], + ["16526126-0b19-49fb-980f-52967974716d", "Go which mean some."], + ["924fe4c6-f48c-4c3e-9d44-f2728e08e08c", "Wonder step improve."], + ["a4441b0e-49b8-45c6-a20d-fe79e33c5736", "Fear peace green."], + ["06f00ae4-8c36-4c2e-9e45-1b6a818aac86", "Sound you eye."], + ["cc8477ac-6394-4a18-99d6-1f4eabb2fe26", "Window manager."], + ["629c0ff9-6335-45a7-937e-43486803f512", "Bank know surface."], + ["9ad7b7aa-df30-42c8-8356-492bcdd2b8f3", "Night avoid power."] + ] + } + }, + { + "id": "e3ac6519-3c6c-4253-8ccb-ed786b61d5b2", + "name": "dim_customer", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer", + "description": "The dimension table contains data about your customers. The customers table contains one row per customer. It includes historical metrics (such as the total amount that each customer has spent in your store) as well as forward-looking metrics (such as the predicted number of days between future orders and the expected order value in the next 30 days). This table also includes columns that segment customers into various categories (such as new, returning, promising, at risk, dormant, and loyal), which you can use to target marketing activities.", + "version": 0.1, + "updatedAt": 1638181701781, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/e3ac6519-3c6c-4253-8ccb-ed786b61d5b2", + "tableType": "Regular", + "columns": [ + { + "name": "customer_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the customer. This is the primary key column for this table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "average_order_size", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The average amount of money that the customer spends on orders from the store. The value is formatted in the store's currency and it is calculated using the following formula: total_order_value / total_order_count.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.average_order_size", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "total_order_count", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The total number of orders that the customer has made from this store across their lifetime.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.total_order_count", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "total_order_value", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The total amount of money that the customer has spent on orders from the store across their lifetime. The value is formatted in the store's currency.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.total_order_value", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "first_order_date", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the customer placed their first order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.first_order_date", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "last_order_date", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the customer placed their most recent order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.last_order_date", + "tags": [], + "ordinalPosition": 7 + }, + { + "name": "rank", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "A numeric ranking of the customer's lifetime value for the store relative to all customers.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.rank", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "new", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true if the customer made their first order in the last 30 days. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.new", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "returning", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true when the customer has made more than one order. Returns false when the customer has made one order only. Returns Null when the customer exists in Shopify, but they have not made any orders. For example, this column can be null because the customer provided their contact information and then abandoned the checkout. Customers can also be created manually in the Shopify admin and by apps that use the Admin API.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.returning", + "tags": [], + "ordinalPosition": 10 + }, + { + "name": "loyal", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true when the customer has a high probability of returning, and has placed more orders than the average customer. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.loyal", + "tags": [], + "ordinalPosition": 11 + }, + { + "name": "at_risk", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true for repeat customers, who have a medium probability of returning and have not placed an order in a while. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.at_risk", + "tags": [], + "ordinalPosition": 12 + }, + { + "name": "dormant", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true when the customer has a very low probability of returning to make another purchase. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.dormant", + "tags": [], + "ordinalPosition": 13 + }, + { + "name": "promising", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true when the customer has a high probability of returning and becoming a loyal customer. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.promising", + "tags": [], + "ordinalPosition": 14 + }, + { + "name": "predicted_average_number_of_days_between_orders", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The predicated number of days between future orders.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.predicted_average_number_of_days_between_orders", + "tags": [], + "ordinalPosition": 15 + }, + { + "name": "expected_purchase_value_in_next_30_days", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The total purchase amount of the orders that the customer is expected to make in the next 30 days. The value is formatted in the store's currency.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.expected_purchase_value_in_next_30_days", + "tags": [], + "ordinalPosition": 16 + }, + { + "name": "first_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The first name of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.first_name", + "tags": [], + "ordinalPosition": 17 + }, + { + "name": "last_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The last name of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.last_name", + "tags": [], + "ordinalPosition": 18 + }, + { + "name": "city", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The city from the customer's billing address. For example, Topeka.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.city", + "tags": [], + "ordinalPosition": 19 + }, + { + "name": "region", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The name of the region, such as the province or state, from the customer's billing address. For example, Alberta, Florida. This column is the same as CustomerAddress.province in the Admin API.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.region", + "tags": [], + "ordinalPosition": 20 + }, + { + "name": "country", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The country from the customer's billing address. For example, United States.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.country", + "tags": [], + "ordinalPosition": 21 + }, + { + "name": "email", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The email of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.email", + "tags": [], + "ordinalPosition": 22 + }, + { + "name": "phone", + "dataType": "VARCHAR", + "dataLength": 15, + "dataTypeDisplay": "varchar", + "description": "The phone number of the customer.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.phone", + "tags": [], + "ordinalPosition": 23 + }, + { + "name": "verified_email", + "dataType": "BOOLEAN", + "dataLength": 15, + "dataTypeDisplay": "boolean", + "description": "Returns true when the customer's email has been verified. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.verified_email", + "tags": [], + "ordinalPosition": 24 + }, + { + "name": "created_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the customer was added to the store. The format is YYYY-MM-DD HH:mm:ss (for example, 2018-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.created_at", + "tags": [], + "ordinalPosition": 25 + }, + { + "name": "accepts_marketing", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Returns true when the customer has agreed to accept marketing. Otherwise returns false.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.accepts_marketing", + "tags": [], + "ordinalPosition": 26 + }, + { + "name": "customer", + "dataType": "STRUCT", + "dataTypeDisplay": "struct", + "description": "Customer Personal Details", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer", + "tags": [], + "ordinalPosition": 27, + "children": [ + { + "name": "username", + "dataType": "VARCHAR", + "dataLength": 20, + "dataTypeDisplay": "VARCHAR(32)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer.username", + "tags": [] + }, + { + "name": "name", + "dataType": "VARCHAR", + "dataLength": 20, + "dataTypeDisplay": "VARCHAR(32)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer.name", + "tags": [] + }, + { + "name": "sex", + "dataType": "CHAR", + "dataLength": 1, + "dataTypeDisplay": "CHAR(1)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer.sex", + "tags": [] + }, + { + "name": "address", + "dataType": "VARCHAR", + "dataLength": 128, + "dataTypeDisplay": "VARCHAR(128)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer.address", + "tags": [] + }, + { + "name": "mail", + "dataType": "VARCHAR", + "dataLength": 64, + "dataTypeDisplay": "VARCHAR(64)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer.mail", + "tags": [] + }, + { + "name": "birthdate", + "dataType": "VARCHAR", + "dataLength": 16, + "dataTypeDisplay": "VARCHAR(16)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer.birthdate", + "tags": [] + } + ] + }, + { + "name": "shipping_address", + "dataType": "ARRAY", + "arrayDataType": "STRUCT", + "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shipping_address", + "tags": [] + }, + { + "name": "orders", + "dataType": "ARRAY", + "arrayDataType": "STRUCT", + "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.orders", + "tags": [] + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 140, + "percentileRank": 64 + }, + "weeklyStats": { + "count": 140, + "percentileRank": 64 + }, + "monthlyStats": { + "count": 140, + "percentileRank": 64 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.api_client_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.customer_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 45 + } + ] + }, + { + "columnName": "customer_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.api_client_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.customer_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shop_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 45 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "customer_id", + "shop_id", + "average_order_size", + "total_order_count", + "total_order_value", + "first_order_date", + "last_order_date", + "rank", + "new", + "returning", + "loyal", + "at_risk", + "dormant", + "promising", + "predicted_average_number_of_days_between_orders", + "expected_purchase_value_in_next_30_days", + "first_name", + "last_name", + "city", + "region", + "country", + "email", + "phone", + "verified_email", + "created_at", + "accepts_marketing", + "customer", + "shipping_address", + "orders" + ], + "rows": [ + [ + "52631cec-03f2-4dca-bca5-0e0756823676", + "85196385-1680-4a22-9cba-d340d1096b97", + 8986, + 5053, + 7713, + 824919982, + 334111543, + 9734, + true, + true, + true, + false, + true, + true, + 3818, + 8725, + "Matthew", + "David", + "Barbaratown", + "927 Larry Oval", + "Heard Island and McDonald Islands", + "Office which result.", + "(109)247-5978", + true, + 39617552, + true, + null, + "835 Simmons Glens Apt. 576", + null + ], + [ + "624590b7-ff7a-4119-a88f-43d7ed020ddb", + "8c3021b7-f46f-4ad4-a99a-d80a1e1edeaa", + 595, + 6323, + 8803, + 452020273, + 1519498340, + 8876, + false, + true, + true, + false, + true, + false, + 9206, + 840, + "Michele", + "Amy", + "North Jeffrey", + "399 Sharon Park", + "United Kingdom", + "Skill race involve.", + "001-015-016-9054x5562", + true, + 1247019459, + true, + null, + "240 Jackson Lock", + null + ], + [ + "ac253c24-7906-4e95-b646-869f4283d9af", + "ab636f6f-9fe7-487c-9d22-536b88e89020", + 5560, + 8856, + 3713, + 328000102, + 1430111649, + 7988, + false, + false, + false, + false, + false, + true, + 7761, + 3829, + "Theresa", + "Sara", + "Caitlinborough", + "91435 Patel Mission Apt. 070", + "Maldives", + "Their recognize.", + "+1-138-524-3860x02219", + false, + 1504889849, + true, + null, + "307 Dominguez Brooks Suite 982", + null + ], + [ + "30891080-4fa5-4007-b961-8afaa3e5068f", + "ab7cd985-4b38-4ec1-9cd9-dd2a5fd7de6d", + 1747, + 3753, + 8248, + 920298637, + 1631066789, + 9966, + true, + true, + false, + false, + true, + true, + 430, + 8879, + "Christopher", + "David", + "Alvarezburgh", + "8299 Gregory Camp Suite 145", + "Kyrgyz Republic", + "Eight claim card.", + "043.055.2052x116", + true, + 1231036357, + true, + null, + "166 Edwards Via", + null + ], + [ + "4bcdd628-66f6-4459-b1b3-e6840f469734", + "53b1fafc-b1a9-45b9-b12e-d10a601681e6", + 5992, + 6235, + 7211, + 863991091, + 1228589053, + 7784, + true, + false, + true, + false, + true, + true, + 7365, + 5523, + "Teresa", + "Destiny", + "Lake Stevenfurt", + "0418 Moyer Shores", + "Micronesia", + "Store herself.", + "(903)332-4035", + false, + 1388876049, + false, + null, + "91564 Carlos Village", + null + ], + [ + "783758a9-fdc5-4c33-811d-6937dd7f9ae0", + "c95e3136-335c-411a-88fb-21214dc17c63", + 5806, + 5010, + 6707, + 1289518344, + 636841183, + 4676, + false, + true, + true, + true, + false, + false, + 9344, + 9834, + "Jimmy", + "Michael", + "Brownberg", + "7192 Williams Burg Apt. 677", + "Peru", + "Citizen same my.", + "161.137.8139x68458", + true, + 590807497, + true, + null, + "3265 Luis Walk Apt. 508", + null + ], + [ + "73465040-b0df-4c2f-8089-6bf52957359d", + "87873e43-aa48-4987-bada-4860eead91d8", + 5487, + 9898, + 2741, + 1275088756, + 599429420, + 9842, + false, + false, + true, + true, + false, + true, + 573, + 5244, + "Breanna", + "James", + "West Caitlin", + "99914 Angela Fords", + "Uruguay", + "Evidence knowledge.", + "453.071.7756x949", + true, + 136355486, + false, + null, + "2728 Smith Corner", + null + ], + [ + "e86ebbe8-59d0-43b9-aea7-9d43444ee68f", + "8c14cb05-2c86-47b1-bee0-a6f90aba07ac", + 6174, + 5079, + 3817, + 1449276930, + 1356235505, + 5367, + false, + true, + true, + false, + true, + true, + 2223, + 5285, + "Julie", + "Amanda", + "West Johnton", + "9358 Jeff Grove Apt. 673", + "Swaziland", + "Daughter memory.", + "+1-928-585-1295x308", + false, + 1437577063, + true, + null, + "99141 Mathews Islands", + null + ], + [ + "99e0fe8b-e290-4fbc-923f-19e91826bad9", + "89bbbe16-fa95-45af-a61b-1c9f70bd15a8", + 9334, + 7323, + 9631, + 930905666, + 702283755, + 2844, + true, + false, + false, + false, + true, + true, + 9410, + 9092, + "Crystal", + "Patricia", + "West John", + "025 Mark Tunnel", + "Sierra Leone", + "See issue hand.", + "5234002938", + false, + 1119358124, + true, + null, + "1139 Penny Station Suite 393", + null + ], + [ + "523bb41a-abed-498a-9f2a-cada772b9be0", + "2218eb7d-1415-4181-8c37-34ba5be47ae6", + 2744, + 6137, + 5534, + 1435123029, + 1604419234, + 4523, + false, + true, + false, + true, + true, + false, + 8206, + 7705, + "Bryan", + "Amanda", + "Drakeborough", + "5986 Adam Turnpike Apt. 622", + "Djibouti", + "Federal laugh stop.", + "+1-114-648-9398x4460", + false, + 1065226499, + false, + null, + "850 Bartlett Hills Suite 230", + null + ], + [ + "3a435baa-174f-4de8-a281-1cd4ffbd7f77", + "00b73461-ae42-44d7-ada2-86cdd6024ce5", + 4385, + 8190, + 4292, + 680276516, + 1507459449, + 491, + true, + false, + true, + true, + false, + false, + 4414, + 3684, + "Alexandria", + "Kristie", + "West James", + "629 Tina Junction", + "Jersey", + "Practice already.", + "841.290.3007x375", + false, + 528700043, + true, + null, + "764 Janet Parkways Apt. 008", + null + ], + [ + "f9f03ad2-570b-4bdd-91c0-6c438a7cf9b1", + "6a122bd4-311e-4619-9e98-594ca478fc13", + 6610, + 7446, + 9021, + 1044123212, + 399845648, + 3589, + false, + false, + false, + true, + false, + true, + 9746, + 7133, + "Samantha", + "Robert", + "West Evan", + "4341 Megan Flat Apt. 639", + "Saint Kitts and Nevis", + "Tend population.", + "+1-457-741-2691x23874", + false, + 32679647, + true, + null, + "275 Elizabeth Freeway", + null + ], + [ + "57eb6247-6188-4e8b-9fd3-bd07c1c5cccf", + "1a6fb612-2517-4e1c-85ac-79643f90c372", + 4129, + 2621, + 2962, + 637658849, + 267379744, + 4086, + false, + false, + true, + false, + true, + true, + 223, + 6099, + "Alexandra", + "Loretta", + "Port Abigail", + "65877 Brown Lights", + "Guinea", + "Style company last.", + "(554)178-9829", + true, + 951695378, + false, + null, + "23604 Monica Summit Suite 791", + null + ], + [ + "1bbf1201-52a0-44bd-aef1-99187823f418", + "1e453ebc-f66f-44b7-943f-d3c76e9eb0a3", + 6268, + 2886, + 2988, + 218744464, + 1592410987, + 1446, + true, + false, + false, + true, + false, + false, + 5735, + 3563, + "Jose", + "Lori", + "Port William", + "888 Mcgee Crossing Suite 825", + "Lebanon", + "Newspaper any next.", + "601.970.8921x3112", + true, + 886870777, + true, + null, + "677 Michael Landing Suite 012", + null + ], + [ + "4c93bc40-7509-4a3e-8024-80cf70b8e633", + "5e0ee590-55eb-4f9f-8bd2-1c3e45af0a6f", + 1346, + 7980, + 2270, + 1335268854, + 1359587809, + 9775, + true, + false, + true, + true, + false, + true, + 279, + 2547, + "Lauren", + "Brittany", + "Moorebury", + "3621 Rivera Rapids Apt. 333", + "Christmas Island", + "White establish but.", + "001-113-251-6607x671", + false, + 1111836735, + true, + null, + "95000 Shawn Bridge Apt. 342", + null + ], + [ + "524d63c5-d6b2-4884-bbb8-295d8900652b", + "4a545830-5b49-4b04-b0f8-02898231954e", + 2135, + 4552, + 866, + 231739839, + 1286061681, + 5077, + false, + true, + true, + true, + false, + false, + 6292, + 2687, + "Christina", + "Sarah", + "New Brookebury", + "28346 Julia Motorway", + "Marshall Islands", + "Same anyone medical.", + "+1-075-528-6114x8726", + true, + 1394892207, + true, + null, + "80557 Swanson Unions", + null + ], + [ + "fb50f64e-0848-481f-b5f3-656b03a3cf92", + "45bce2be-1d13-482e-a8a8-891f3bdbd179", + 9087, + 8896, + 8511, + 948184051, + 598322676, + 5894, + false, + false, + false, + true, + false, + false, + 8995, + 2122, + "Elizabeth", + "Yvonne", + "Arthurberg", + "9337 George Viaduct", + "Lithuania", + "Year ever actually.", + "(207)984-0919", + false, + 1135792222, + false, + null, + "7853 Evans Springs", + null + ], + [ + "f48176f1-2ca9-4303-8902-232e5532d3a8", + "26356c14-6133-49fd-a7cf-39d465606930", + 3477, + 1557, + 8788, + 973409282, + 77709078, + 6587, + false, + true, + false, + true, + false, + true, + 8941, + 7078, + "Nicholas", + "Christine", + "Gonzalezton", + "0783 Christina Prairie", + "Macao", + "Month part water.", + "(929)872-8561x013", + true, + 833677649, + true, + null, + "653 Hamilton Way", + null + ], + [ + "aceaf8bb-1f18-4102-ab61-56664bba0ee0", + "f27516e3-11b3-4ad4-bb7e-4aa832318f14", + 9190, + 2696, + 1845, + 1092267316, + 1290085678, + 8546, + false, + false, + false, + false, + true, + true, + 3853, + 8122, + "Nicholas", + "Christina", + "South Kristentown", + "3598 Jeremiah Circle", + "Nicaragua", + "Your attack subject.", + "721.589.8307x93417", + true, + 1173274766, + false, + null, + "41004 Erica Fords", + null + ], + [ + "984e2963-7ac5-45b1-a9a8-6e1e505ca758", + "090c5e1a-9dcd-4d88-b2c0-061442e80787", + 675, + 7825, + 7994, + 495565195, + 628766516, + 8843, + false, + false, + true, + false, + false, + false, + 489, + 5359, + "Katherine", + "Pamela", + "North Sylvia", + "098 Shepherd Pines Suite 236", + "Micronesia", + "Likely democratic.", + "+1-981-254-5883x03420", + false, + 1307480892, + false, + null, + "181 Flynn Branch Apt. 947", + null + ], + [ + "3e098078-f325-4e22-93f2-71802598bd46", + "8e7f6c44-f6a0-49fb-8cd8-11d7ddf16ac9", + 8643, + 6302, + 1559, + 1273643726, + 664474999, + 3858, + true, + false, + false, + true, + false, + false, + 4526, + 3479, + "Daniel", + "Valerie", + "Dunnchester", + "899 Denise Lake", + "Cyprus", + "Though do tend.", + "320-857-6083", + false, + 501373631, + false, + null, + "47536 Hunter Ramp Suite 787", + null + ], + [ + "c5a2c6d3-cde6-4678-a6aa-57ac4357728f", + "b22e8f09-f1af-4d45-aaff-b0225395f88b", + 5362, + 757, + 9962, + 1531396197, + 1383664573, + 7803, + true, + false, + true, + false, + false, + false, + 5350, + 375, + "Judy", + "Tracy", + "Taylorton", + "0384 Sullivan Vista", + "Belgium", + "Speak computer my.", + "(659)804-6552x48634", + false, + 680352890, + false, + null, + "03371 Robinson Loaf Suite 101", + null + ], + [ + "d4d44712-26bd-4042-8be4-c2e123f29b4b", + "f37cb7a4-d074-47f1-af2c-a2f058cbbbb2", + 8128, + 7900, + 1921, + 1512702237, + 559451457, + 2053, + true, + true, + true, + true, + false, + true, + 8331, + 2040, + "Scott", + "Rebecca", + "Lake Patricia", + "8774 Sherman Rapid", + "United Kingdom", + "Skill imagine.", + "001-729-162-5149x98892", + true, + 750193454, + true, + null, + "5093 Jeffrey Park", + null + ], + [ + "cfc7dbae-a614-4305-838e-d4c359917ac6", + "18e53320-129b-4d51-b016-0923aee12e4a", + 653, + 4731, + 7783, + 950623863, + 35639899, + 3781, + true, + true, + false, + false, + false, + false, + 8527, + 8759, + "Cassandra", + "Joshua", + "New Christine", + "25621 Crystal Shores Apt. 289", + "Iraq", + "Should range policy.", + "1657229149", + false, + 914911713, + false, + null, + "26221 Donna Land", + null + ], + [ + "55987287-2cef-4b14-a686-a240d68efad4", + "12abcb46-1aed-4055-b8b4-2d23f25c9fde", + 2092, + 1199, + 353, + 707874185, + 576759554, + 5087, + false, + true, + false, + false, + true, + true, + 7595, + 8804, + "John", + "George", + "South Rebeccamouth", + "826 Paula Streets Apt. 328", + "French Polynesia", + "Well company Mrs.", + "713-430-2295x1620", + true, + 214529520, + false, + null, + "43120 Hernandez Manors", + null + ] + ] + } + }, + { + "id": "8692b713-7801-4904-9c81-d68a0affa34e", + "name": "dim_location", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location", + "description": "The dimension table contains metrics about your Shopify POS. This table contains one row per Shopify POS location. You can use this table to generate a list of the Shopify POS locations or you can join the table with the sales table to measure sales performance.", + "version": 0.1, + "updatedAt": 1638181701915, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/8692b713-7801-4904-9c81-d68a0affa34e", + "tableType": "Regular", + "columns": [ + { + "name": "location_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.shop_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Name of the POS location as provided by the merchant. For example, 150 Elgin Street or Downtown Boutique.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.name", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "address", + "dataType": "STRUCT", + "dataTypeDisplay": "struct>", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address", + "tags": [], + "children": [ + { + "name": "street_name", + "dataType": "VARCHAR", + "dataLength": 24, + "dataTypeDisplay": "VARCHAR(24)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address.street_name", + "tags": [] + }, + { + "name": "zipcode", + "dataType": "INT", + "dataTypeDisplay": "int", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address.zipcode", + "tags": [] + }, + { + "name": "city", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "VARCHAR(100)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address.city", + "tags": [] + }, + { + "name": "country", + "dataType": "STRUCT", + "dataTypeDisplay": "struct", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address.country", + "tags": [], + "children": [ + { + "name": "country_code", + "dataType": "INT", + "dataTypeDisplay": "INT", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address.country.country_code", + "tags": [] + }, + { + "name": "country_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "VARCHAR(100)", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.address.country.country_name", + "tags": [] + } + ] + } + ] + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 75, + "percentileRank": 18 + }, + "weeklyStats": { + "count": 75, + "percentileRank": 18 + }, + "monthlyStats": { + "count": 75, + "percentileRank": 18 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "location_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 50 + } + ] + } + ] + }, + "sampleData": { + "columns": ["location_id", "shop_id", "name", "address"], + "rows": [ + [ + "1d004704-1fe1-473d-9a3d-d99cb34d993d", + "599ae89b-c206-4c4a-a3e1-3bc5a921539c", + "Katrina", + "3993 Keller Point Suite 397" + ], + [ + "0a2be832-85b5-49ee-9856-8cc93ecaf12c", + "a5dfd076-637e-4960-81f3-450eda2f04ed", + "Kelly", + "4154 Melissa Garden" + ], + [ + "c6505c3b-61ea-47ce-9fa9-cc21e2bbf9bf", + "840c0766-2317-497e-a5ec-250ca89e0988", + "Kaitlyn", + "04715 Giles Fords Suite 087" + ], + [ + "917dadc6-98b3-45f1-a7b5-3a68cedab158", + "b483a629-7b0c-4cd4-8a85-e790debaf4ab", + "Eric", + "6331 Carlos Square Apt. 993" + ], + [ + "248bc913-b54b-4c68-ac88-348aea82fc78", + "de1e14a9-c51a-4990-83db-e4c75fc9f1da", + "James", + "8973 Rogers Divide" + ], + [ + "bdbd38c2-34ab-41de-9cf2-d81ff2cfddb7", + "88473996-400f-4118-aa7b-1613472e81b5", + "Victoria", + "2672 David Drive Apt. 915" + ], + [ + "faf3397b-0538-4678-98c2-8de8b681cfa8", + "376037a0-d508-4735-9ff4-fe60305152e8", + "Stacy", + "606 Shawn Turnpike Apt. 754" + ], + [ + "ae1cd576-87e6-4577-b96d-6bea95ceebf7", + "1c6fc2cd-1e68-4c7e-b2c9-adca7e2b13a6", + "Craig", + "843 Cole Islands Apt. 895" + ], + [ + "dbb7a39d-5db1-4a3f-93d9-8d27e3d55f19", + "060237d4-23b2-499f-bda4-466dcc939800", + "Betty", + "734 Franklin Lock Apt. 239" + ], + [ + "6bdd3bf6-dd06-4bc3-af3f-2290400d98dd", + "a1ac06ee-cc5a-4a87-aed4-e10b726fd83b", + "Matthew", + "0891 Martin Villages Suite 697" + ], + [ + "f3b06b55-6783-488d-8aaa-7dd8814dd9d9", + "74bc2568-9e48-4516-8e8b-50d3db1b9552", + "Matthew", + "3496 Hernandez Road" + ], + [ + "3e4a5096-01b4-4156-93fa-3de4ff49179d", + "e516343a-d358-4927-aac5-36f4cbb9317c", + "Erik", + "457 Alex Skyway Suite 081" + ], + [ + "08037157-ab05-42e0-adbd-f446aa069200", + "89968087-1a59-435b-9786-87224bd23d42", + "Bradley", + "4170 Chris Route Suite 690" + ], + [ + "9f23e8e4-2b6c-46a2-892f-77741bc15862", + "e0a17869-ee8e-4a41-af62-8e6737ad63a4", + "Joseph", + "6932 King Flat Suite 465" + ], + [ + "3d2a780c-baab-43e2-bc08-0e94288ae74c", + "c280d77c-1603-4c42-b9b5-a201ee1e47cb", + "Devin", + "0441 Keller Groves Suite 850" + ], + [ + "3e81df53-1cac-4f79-88c7-327e919ce49a", + "f016f1dc-ad85-462d-b2ce-d2a6332817e0", + "Jeremy", + "56702 Sharon Plains Apt. 959" + ], + [ + "fbd8f2ea-aab7-40a4-8141-8909e04c5a6f", + "99210017-c833-4690-b863-713c20cd5bf4", + "Gary", + "80004 Briggs Mills" + ], + [ + "d29042a9-2cb4-478b-a0d4-decf7e4b8b77", + "bb55495b-ff9d-4098-ac4b-b6cb37b15634", + "Christian", + "777 Avila Track" + ], + [ + "089c2732-0d55-411f-a40e-c4be6288c317", + "95c5d66d-c44e-4644-a8a5-a86a98f7a2ce", + "Michael", + "4563 Lucero Estate Suite 458" + ], + [ + "da4b1243-2fa4-41ac-a65d-66b5a8851209", + "94b2ff6c-d4d1-4130-96df-78f6df4ec521", + "Marissa", + "1060 Alexandra Coves" + ], + [ + "f67bc2e5-6de8-4b4e-ba19-adb4da76ff97", + "aec94aa8-756e-4d66-8345-7317e4526f5f", + "Christopher", + "4027 Austin Plains Apt. 244" + ], + [ + "d9dea1b9-a009-4d0f-b176-ad4097ec0025", + "5662c13f-10d0-4dac-8e1c-cfebb6d78dc7", + "Rebecca", + "24800 Amber Corners Suite 825" + ], + [ + "e09c59fc-8c56-420a-bbc3-f2406b0dc5e8", + "12232369-3173-41ed-8e3f-40d40b92b80b", + "Catherine", + "401 Mckenzie Station" + ], + [ + "da846913-fb74-4847-9f6e-b8a8d35fe8dc", + "4fe6d78a-6f22-4777-ac95-5e85afeb4423", + "Crystal", + "412 Thomas Knolls Apt. 880" + ], + [ + "675288cd-b1a7-4bc9-9a58-1836a73c14af", + "9b06e98b-bd84-42ea-9f56-fc1983ca6551", + "Tyler", + "28647 Arnold Park" + ] + ] + } + }, + { + "id": "e323940c-a702-4d04-81b4-2fbae09b117d", + "name": "dim_product", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product", + "description": "This dimension table contains information about each of the products in your store. This table contains one row per product. This table reflects the current state of products in your Shopify admin.", + "version": 0.1, + "updatedAt": 1638181701953, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/e323940c-a702-4d04-81b4-2fbae09b117d", + "tableType": "Regular", + "columns": [ + { + "name": "product_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Unique identifier for the product. This column is the primary key for this table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.shop_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "title", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Name of the product.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.title", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "vendor", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Name of the manufacturer, wholesaler, or other vendor of the product.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.vendor", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "created_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "Date (ISO 8601) and time (UTC) when the product was added to the store. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.created_at", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "deleted_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "Date (ISO 8601) and time (UTC) when the product was deleted. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.deleted_at", + "tags": [], + "ordinalPosition": 6 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 130, + "percentileRank": 55 + }, + "weeklyStats": { + "count": 130, + "percentileRank": 55 + }, + "monthlyStats": { + "count": 130, + "percentileRank": 55 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 5 + } + ] + }, + { + "columnName": "product_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.product_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 5 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "product_id", + "shop_id", + "title", + "vendor", + "created_at", + "deleted_at" + ], + "rows": [ + [ + "7a830a0a-07e6-479c-83e1-66345c458b74", + "79d00383-1c8e-44e6-99a5-f1d5a7b3eced", + "Boy beautiful TV.", + "Attack view but.", + 1006262414, + 1380923170 + ], + [ + "8a102c6f-f943-47f2-a82d-03a5b918e1c5", + "b909a150-416b-4692-8e7b-d17d28ad1881", + "Enter skill level.", + "Hope young quality.", + 1501087393, + 741016262 + ], + [ + "eed1f927-2851-49c0-a7f7-8af0717a640c", + "ff5d485d-452a-4350-9d94-bf80cdd8c413", + "Military something.", + "Ask fact author.", + 1486188319, + 95291244 + ], + [ + "7f61643f-50b8-4c11-bdaf-10c1a2ae56b4", + "bf34b3b8-42c3-4d8d-8f4c-bf92c02b21cb", + "Visit along simple.", + "During per.", + 1511381726, + 680448394 + ], + [ + "65d8845d-8b8d-489e-a5f6-c0fc07a4801a", + "5be63c80-1aa0-46ba-a5c7-6870d61e0feb", + "Mouth the.", + "Same try win fish.", + 78042846, + 987460787 + ], + [ + "c9d7b605-a2dc-4625-8fe2-7cf5b249a2d3", + "7c44acc3-8167-4d3f-b4c9-52f1bed24929", + "Film class activity.", + "Clear tell return.", + 1268694746, + 1129067947 + ], + [ + "a2b69bae-a965-4c8c-a68a-0ade1b09783c", + "f8bbd762-dcde-4cdc-a03f-e42b364ac7ad", + "Fine sort oil.", + "True everyone as.", + 305389693, + 1153202064 + ], + [ + "a27964dc-7787-47a0-8ae9-97215e247879", + "1112625a-ac02-4eee-99e2-16db2223c60f", + "Seat report news.", + "Inside authority.", + 1559869250, + 1357499087 + ], + [ + "2fd4e3d2-7449-46f1-aad7-92593af756f8", + "088807c0-f33b-482b-9cf1-b93f5f6aa500", + "Push hard suggest.", + "Morning room.", + 515912258, + 771548471 + ], + [ + "c9328fb9-7b5f-4942-946a-c60e36fbe60d", + "2c3bb9a3-c787-4dd3-9294-2210626351f2", + "Day husband little.", + "Card partner son.", + 1543278843, + 449628435 + ], + [ + "64297821-8a77-47d8-80f6-5f83ebfdb44e", + "b27f6bca-679e-4a54-989f-6de563cd5742", + "Thus film decade.", + "Which fly type.", + 625706399, + 111259842 + ], + [ + "be866693-dbea-4540-9acb-4bb1a555c7a5", + "a82d8861-fe22-4869-acc7-030781434f1d", + "Stock change away.", + "Quickly central.", + 1368871443, + 1094780336 + ], + [ + "67257cb7-d2dd-4abf-9329-9d45bab8658e", + "4adac054-cd87-4e3c-a4ad-3386f14e239b", + "Effort look create.", + "Audience size high.", + 791009560, + 280289191 + ], + [ + "08630647-5455-4f9f-8f00-7f95984d01ed", + "53f2c330-fb3d-46a7-a0c0-178551a5fd9a", + "Commercial suffer.", + "Report general life.", + 1084924088, + 1089022966 + ], + [ + "8845fa04-b754-4c89-bf5e-ed7398a6953c", + "f14448d2-e274-493b-80b0-922acda3caca", + "Down seem admit.", + "Leader station.", + 4491129, + 307312406 + ], + [ + "72747222-24c1-43d5-ae1a-8887f37aea2a", + "57cde0d0-dac4-4dea-a365-1d5f9864499b", + "Record share.", + "Leg free partner.", + 1357050789, + 906555937 + ], + [ + "4e9b31cc-630b-422b-83d8-07813940e3b9", + "2c34a9d7-eb9e-4841-8c8e-21c948e1f25c", + "Loss democratic.", + "Write since against.", + 86050139, + 164037359 + ], + [ + "25d3691e-8110-4446-bc52-de6264df7c3b", + "8348b7ca-5d2d-43cf-a222-a85cb1858155", + "Forward foot doctor.", + "Outside help mother.", + 60177087, + 28991968 + ], + [ + "6f9da7f5-dde4-4769-8bc5-67f04a49eb74", + "61ba7725-bd50-4fc9-a7ef-29fdc8d25529", + "Fill particular box.", + "Rich college rather.", + 1011388429, + 153059401 + ], + [ + "faa61f96-a6ef-4b06-b940-52432f769602", + "ae763e67-b28a-4e63-96d1-9499c86a5fff", + "Executive say win.", + "Point fire rich.", + 213554606, + 247174539 + ], + [ + "8ebb31c7-2869-4ab3-955b-5aa1f1f42077", + "a885239c-5d69-4e39-b529-e9d6b8a19f25", + "Person if letter.", + "Focus outside.", + 799672218, + 968231286 + ], + [ + "ebfe928c-d675-4f01-bfa6-352153f5c8fd", + "bfed0cbd-5c5e-48df-ab1a-9e99ca8fce3b", + "Easy policy member.", + "Standard because.", + 1233186551, + 1189297258 + ], + [ + "fb67a7ef-64ee-44e9-8480-20616ee2cf67", + "6321396e-f9b0-4982-8748-f6b8e9c40d76", + "Recognize light.", + "Foot modern.", + 61391308, + 242307006 + ], + [ + "d41c7cd5-c258-4e26-b478-c7b82e2bd823", + "d87214a0-7bfd-4979-b1f7-559cd72d840f", + "Foot Democrat.", + "Light suddenly.", + 1403021507, + 1617703450 + ], + [ + "dd9a0894-2fc4-45ac-8225-ba9d0ffb231e", + "24d734d7-da39-45d2-b3a3-b3f63434973a", + "Group member hard.", + "Know event happen.", + 1345300074, + 1592257424 + ] + ] + } + }, + { + "id": "e3027ce0-a75f-4b2a-97ee-3e29ffa2eda0", + "name": "dim_product_variant", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant", + "description": "This dimension table contains current information about each of the product variants in your store. This table contains one row per product variant.", + "version": 0.1, + "updatedAt": 1638181701992, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/e3027ce0-a75f-4b2a-97ee-3e29ffa2eda0", + "tableType": "Regular", + "columns": [ + { + "name": "product_variant_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the product variant. This column is the primary key for this table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.product_variant_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "product_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the product. This column is a foreign key reference to the product_id column in dim_product table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.product_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.shop_id", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "title", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The title of the product variant.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.title", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "barcode", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The Barcode, UPC, or ISBN number of the product variant.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.barcode", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "sku", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The SKU of the product variant.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.sku", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "price", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The price of the product variant, in your store's currency.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.price", + "tags": [], + "ordinalPosition": 7 + }, + { + "name": "grams", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Number of grams that the product variant weighs.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.grams", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "created_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the product variant was added to the store. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.created_at", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "deleted_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the product variant was deleted. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.deleted_at", + "tags": [], + "ordinalPosition": 10 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 35, + "percentileRank": 9 + }, + "weeklyStats": { + "count": 35, + "percentileRank": 9 + }, + "monthlyStats": { + "count": 35, + "percentileRank": 9 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 5 + } + ] + }, + { + "columnName": "product_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 5 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "product_variant_id", + "product_id", + "shop_id", + "title", + "barcode", + "sku", + "price", + "grams", + "created_at", + "deleted_at" + ], + "rows": [ + [ + "91c03912-2412-4152-a9dd-c4456e967279", + "3cf59167-f486-43e0-bdb6-7f7a009b24cb", + "3c68db9f-aa6f-4a85-9f05-22dbf3a5d3ef", + "Mother church.", + "3729491253418", + "Through still cell.", + "$62,990.74", + 5833, + 1077998516, + 1578332216 + ], + [ + "48ed8c4b-353c-4a89-8207-c832e2a12781", + "c1a2325c-9305-4fc7-a9c5-c259526da9b9", + "33ba8748-8c3c-412a-8c58-fddc9ce7de7f", + "Material including.", + "1019919461603", + "Language nearly.", + "$8,780.09", + 2348, + 827255429, + 1010609476 + ], + [ + "51df4e83-9486-46ef-af06-f0e180047271", + "479a2487-6b43-4bce-afc9-260d21b3dc61", + "ffa814a0-6e93-4276-ab77-d2443164675b", + "Back month wait.", + "8291048528966", + "Response article.", + "$0.05", + 8834, + 216316258, + 513958599 + ], + [ + "2161bcc6-cd7f-4ca4-874d-7e5d7c89fd64", + "accdaa3d-9e9c-4d6c-8466-7c5d165c6a65", + "5eef46fb-f381-4288-ae32-0f1fb21659ff", + "Oil suddenly whole.", + "6090608517769", + "Claim course which.", + "$426.10", + 7932, + 231214240, + 1022359623 + ], + [ + "908b3fd6-fc92-4c48-8665-6be41db9e7bb", + "0b1f920b-eab0-44ce-9ff3-8bbc22502085", + "2ad33a65-8b30-4320-9bda-3dcc81d65772", + "Off major deep six.", + "0908079948493", + "Available capital.", + "$873.45", + 3212, + 492989879, + 1443159154 + ], + [ + "6c063f6f-8fdc-47fa-b129-00d124cdda15", + "802f4904-b70d-425f-814d-824d46d9011b", + "1da87183-f581-4171-9874-a6f3d4e9e397", + "Indeed role part.", + "3104591031676", + "South get reason.", + "$3.47", + 6851, + 1234073072, + 1198486878 + ], + [ + "29121ec1-8695-4953-87fe-1e40e8c82ecb", + "19fd6fc4-01e3-42e5-8210-abe8d5ccc777", + "01efdc96-64ef-4119-871c-e0b188fe178e", + "Girl art science.", + "5786801706154", + "Drive economic.", + "$8,581.14", + 9495, + 529464443, + 806203885 + ], + [ + "db7841b8-6081-4c4b-b78b-4ea3f5a3a737", + "63588079-de69-4b6e-8861-10c06f5e2a22", + "24d2fc95-1180-4cd1-b49a-ce94f649b7a9", + "Wonder case nice.", + "0748976067411", + "Drive admit street.", + "$3.04", + 2248, + 667823273, + 802275312 + ], + [ + "eafaa636-826c-4b95-91b1-28c07c05c6f5", + "d43fb484-b323-4fd1-9b13-1f9d4bb0f175", + "14e988a9-f5bb-4ac5-8983-18693c28bc41", + "Certainly beyond.", + "9664843827753", + "Interest minute.", + "$31,833.14", + 2749, + 364394253, + 958662037 + ], + [ + "ce847581-688c-470b-8fa4-09af4133a08b", + "463e5d57-e577-4dc5-bbbf-c861f94179d5", + "0c979ce3-db11-4ccb-bdbb-1add1cd174ae", + "President close.", + "6647004981689", + "His against paper.", + "$0.06", + 4223, + 669584959, + 609736470 + ], + [ + "37cfe703-2e7d-49d1-8d6e-69302d1e2ad6", + "76fdac83-1a93-429d-bf15-79091f5b26b2", + "ea4a1241-2104-4d36-9622-aa14309eb6e9", + "Concern style.", + "2783358291938", + "Base we sort.", + "$607.53", + 509, + 1251456448, + 313862807 + ], + [ + "956a85d8-b746-46f4-84e0-a816467877ff", + "a42d651a-74a8-4a6d-a3b3-4cfdd5b8b314", + "76ec0c2b-5135-42e1-8a95-f0c3c4bb8a84", + "Ever most respond.", + "4940624978094", + "New year student.", + "$3,088.49", + 4467, + 826066745, + 1491617675 + ], + [ + "6c6aa34f-e5a1-46cf-ab19-1cf2f1f86dca", + "d863f75a-841f-402a-a0ad-f7a456f719b1", + "060f7264-b431-47b1-b097-e300a1046531", + "Dinner recently.", + "4857201752346", + "Since pass bit.", + "$3.58", + 5464, + 268934982, + 1476919688 + ], + [ + "c5948b47-55c2-4e09-81c4-0fb81b5ebb60", + "b68a33e2-4043-4368-b607-5a2e834e1782", + "3ace3438-fb49-4c85-bb9e-1b5f24fafa74", + "Stock thank never.", + "9267290247268", + "Move alone would.", + "$31.16", + 670, + 378049287, + 885289234 + ], + [ + "955590fb-6daf-4c2e-b1e4-d760d7aea166", + "d7100b2a-292c-4aa6-8e08-64446915c891", + "e9547f91-5355-4bff-adca-59d2303ba1f4", + "Course loss author.", + "0486578415642", + "Threat able it.", + "$16,690.80", + 7803, + 1051599004, + 799154915 + ], + [ + "32381806-29af-40f2-86b5-22b624c2d0f6", + "cf2709cd-b2e3-470a-91de-e06f67d6d3bb", + "d1552c3f-219e-4937-af95-c5e19a47b911", + "Prevent world.", + "4329182528185", + "Time Congress give.", + "$353.54", + 7307, + 1094151436, + 133284816 + ], + [ + "5fd2233a-04df-40ef-a78c-cd81ebdba46c", + "83a87557-44ea-4428-a2bb-158c313da2eb", + "162f9497-bfde-4c4a-a161-402a0b640297", + "It address PM.", + "2729429458152", + "Market set light Mr.", + "$8.22", + 4170, + 660812321, + 626919190 + ], + [ + "f6bfcf39-f7f7-4389-a4e2-332feeab3ddf", + "076a23ca-887b-47f9-97ba-85ce233dc820", + "6be70c11-8392-41fe-873e-adeef22708ab", + "Section speech plan.", + "0973421410638", + "Become wear economy.", + "$81,862.22", + 8724, + 379334019, + 1410391543 + ], + [ + "737f3ac5-7593-417e-b9ea-c3ae9a8ea076", + "08628413-4e09-45da-a412-14deff03ae07", + "4b7a4eb7-9555-46fe-8d4e-2d86452a5492", + "Many prevent size.", + "1909055938605", + "Where community.", + "$866.15", + 8795, + 253834417, + 807256005 + ], + [ + "9fe0281b-15ea-41df-ad5e-2e29ed76ddae", + "d483f95e-e528-4eb2-82d6-a37bd3db3e96", + "1e1e3238-19f6-43c2-8a3c-72c909a89e8a", + "Them executive.", + "5163155550396", + "Teach law myself.", + "$699.06", + 407, + 325863644, + 1186386527 + ], + [ + "3f3b5ea1-d223-46e6-8f3a-20163e9affad", + "9c244871-af67-4e2f-a9d2-93d1275a39ef", + "411d37ed-ae7d-4cc6-af30-69f0f9630b30", + "Serious yes similar.", + "0892495372904", + "Effect like bag.", + "$6.34", + 4419, + 877849541, + 527927894 + ], + [ + "fc75c7b1-a990-46cf-b248-e0ab6733582d", + "50ed5cc8-8619-48a7-bfa1-c4380395ba76", + "8653f997-c01c-4615-9271-298f5ee2ea6b", + "Class myself but.", + "7918536156883", + "Attack follow.", + "$13.33", + 9182, + 816842641, + 992635268 + ], + [ + "6b2f1b18-acb7-48b8-8582-b7c439b275a8", + "615dea1f-c9d7-482b-ad43-0b0828a893d6", + "f2a02381-5116-43ba-84f5-afbc32d467d1", + "Significant.", + "1923294382005", + "Fear gun imagine.", + "$93.73", + 945, + 642879927, + 664643058 + ], + [ + "733cf734-da54-4d98-867e-252ba4d3594c", + "cdbf06c4-c2cc-44f2-9a68-71481d5f9004", + "55580325-09d4-4366-b757-2f3be11717de", + "Young seven wrong.", + "6390848259161", + "Memory different.", + "$53,061.24", + 2572, + 578420750, + 186493163 + ], + [ + "207175fa-3516-4838-aae7-04c6d798122c", + "9824109f-a309-4c40-a9b5-51bbcc0653a1", + "9e28edc4-ad51-417d-bb8e-4fa02d8a9117", + "He vote buy word.", + "6972573339976", + "Case modern create.", + "$95,883.76", + 9962, + 861869038, + 1352281097 + ] + ] + } + }, + { + "id": "86978b50-8d78-4931-ba53-aa5c920b8244", + "name": "dim_shop", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop", + "description": "This dimension table contains online shop information. This table contains one shop per row.", + "version": 0.1, + "updatedAt": 1638181702033, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/86978b50-8d78-4931-ba53-aa5c920b8244", + "tableType": "Regular", + "columns": [ + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Unique identifier for the store. This column is the primary key for this table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Name of your store.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.name", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "domain", + "dataType": "VARCHAR", + "dataLength": 1000, + "dataTypeDisplay": "varchar", + "description": "Primary domain specified for your online store. Your primary domain is the one that your customers and search engines see. For example, www.mycompany.com.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.domain", + "tags": [], + "ordinalPosition": 3 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 195, + "percentileRank": 82 + }, + "weeklyStats": { + "count": 195, + "percentileRank": 82 + }, + "monthlyStats": { + "count": 195, + "percentileRank": 82 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.shop_id", + "joinCount": 35 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 35 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.shop_id", + "joinCount": 35 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.product_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product_variant.shop_id", + "joinCount": 5 + } + ] + } + ] + }, + "sampleData": { + "columns": ["shop_id", "name", "domain"], + "rows": [ + ["1a424770-a528-4fb3-b0f6-c27016da87d9", "Donna", "Today industry."], + [ + "f3641803-0ed2-4ab0-aa5f-44dc3854b6f6", + "Jennifer", + "Mr tax across." + ], + ["b2a9bb0d-bd1d-4b6e-92c4-f4bccec4b4fb", "Debbie", "Attorney major."], + [ + "a1e3dd17-1cf3-46d4-a016-e79f8d61f384", + "Randall", + "Laugh usually check." + ], + [ + "e3c03956-a12f-4f75-b1f2-6f5abaf658da", + "Cassie", + "Threat represent." + ], + [ + "2a5542fc-9249-4dda-93cd-34376dcd3e08", + "Elizabeth", + "Indeed necessary." + ], + ["916f6c84-ff90-4383-9e99-c8206f96f752", "Dawn", "Throughout mouth."], + [ + "7c79c44a-4cea-4efa-bfe9-89a6a4309dc1", + "Dominic", + "Five new experience." + ], + ["91ff203e-7301-4c8d-ae15-13c0b4efbd96", "Teresa", "Treat risk old."], + [ + "1e726b66-9945-4328-a770-da51080baf89", + "Sandra", + "Half mind be sure." + ], + [ + "7b71fa6c-3a4e-4d8b-94d7-17d207929944", + "John", + "Television interest." + ], + [ + "d2ad0c8c-02fb-4535-9fd4-796019c2ae40", + "Lisa", + "Win future maintain." + ], + [ + "f830c8ae-d5db-4578-937c-39fac9be8672", + "Michael", + "Beat appear which." + ], + [ + "f99b564c-9f41-4c46-b1b6-64af9ca80cd5", + "Shaun", + "Give born senior." + ], + [ + "4462686f-7c01-4cde-a7ad-10f76cb2dd79", + "Jorge", + "Fish skin whether." + ], + [ + "59151753-e6bb-4023-9d49-384b140e7085", + "Heather", + "Leave toward five." + ], + [ + "39992fc8-c600-411b-aeaa-e2fea8e173fe", + "Cheyenne", + "Money security ask." + ], + [ + "87c9ab7a-6d4f-4150-95c5-69dec68f4660", + "Melanie", + "Including away." + ], + ["8b1fda79-8f14-4b3e-baee-0d3c864848dc", "Lisa", "To deal market."], + [ + "4bc154e8-dd49-4b52-8128-4a6bdbfa8849", + "Michelle", + "School include." + ], + [ + "de879cea-654d-4428-ba3a-2a77abd1dd33", + "Jonathan", + "Safe parent staff." + ], + ["c06eadc5-5586-458c-8fc1-938a744bf2c4", "Eric", "Least three act."], + ["2601ee03-1a0d-4c15-aae5-994b81d1bbf8", "Mike", "Theory shoulder."], + ["caf60318-17b0-400d-ae55-d20d9e26c958", "Bobby", "Cold Congress."], + ["8695b069-f93a-4552-b205-a7a4aa0d8ba7", "Olivia", "Where hospital."] + ] + } + }, + { + "id": "aba91233-eef7-489c-982a-dc5409aa979b", + "name": "dim_staff", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff", + "description": "This dimension table contains information about the staff accounts in the store. It contains one row per staff account. Use this table to generate a list of your staff accounts, or join it with the sales, API clients and locations tables to analyze staff performance at Shopify POS locations.", + "version": 0.1, + "updatedAt": 1638181702073, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/aba91233-eef7-489c-982a-dc5409aa979b", + "tableType": "Regular", + "columns": [ + { + "name": "user_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Unique identifier for the user of your Shopify POS or your Shopify admin.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.shop_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "first_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "First name of the staff member.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.first_name", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "last_name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Last name of the staff member.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.last_name", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "email", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Email address of the staff member.", + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.email", + "tags": [], + "ordinalPosition": 5 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 75, + "percentileRank": 18 + }, + "weeklyStats": { + "count": 75, + "percentileRank": 18 + }, + "monthlyStats": { + "count": 75, + "percentileRank": 18 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 35 + } + ] + }, + { + "columnName": "user_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.api_client_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.customer_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shop_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 35 + } + ] + } + ] + }, + "sampleData": { + "columns": ["user_id", "shop_id", "first_name", "last_name", "email"], + "rows": [ + [ + "5de75282-f1a4-4b0a-b269-d3277ad7aa44", + "dbc575d6-b596-43d8-bc7e-8177f7c994a8", + "Alicia", + "Stephanie", + "Tax soldier my way." + ], + [ + "0109a19a-b577-44f3-adbf-6a33465e7657", + "58895967-be68-4290-b03b-3c2fe52fa9ab", + "Brian", + "Morgan", + "Involve fine." + ], + [ + "ac01b3a1-4e01-40a1-996d-46dff8257756", + "f9184594-b57a-4e97-9df6-305722235772", + "Kevin", + "David", + "Half party outside." + ], + [ + "b1366cfe-c261-4a7d-a4c0-ed6ad5c7c38c", + "28310377-c884-496d-9237-9d0856543e83", + "Tyler", + "Kristin", + "Appear mouth real." + ], + [ + "c909bf1c-b67c-43bd-81f7-b34e759ed90b", + "112d4bfa-f7b3-4fea-9a14-69375b0cddee", + "Kristin", + "Heather", + "None whether." + ], + [ + "aeaf37f6-6033-4802-b376-41ff20f69343", + "1f24dd1c-7df3-4a04-854d-6d9446026404", + "David", + "Renee", + "Dinner should." + ], + [ + "de209cfe-0566-4d94-946f-6fb9be89a988", + "dca36e01-356b-44b4-bbd4-65091607fade", + "Sherry", + "Jasmine", + "Any card wide." + ], + [ + "e16eab14-3528-4231-b06f-aa9d195537d5", + "7cf06e27-1290-47af-afe2-ce3c74daf706", + "William", + "Melanie", + "Financial agree." + ], + [ + "2c14b464-3189-4bf8-8feb-9b5ffe91ebcd", + "097d7f3d-8d52-48ad-aa0b-4e55cfb88020", + "David", + "David", + "Federal alone." + ], + [ + "e018e800-d44b-4644-9dcd-9bd76687ecc4", + "aad3033e-3a39-424f-b2b7-ce0189410368", + "Maria", + "Guy", + "Add together happy." + ], + [ + "834c6d8c-8bbf-4fab-b1c2-8bc4d5981cfb", + "993f1bc2-7e70-467d-ab46-1610e896edf2", + "Barbara", + "Holly", + "Spring agent pass." + ], + [ + "4f5f25e9-d1c5-4ece-ac7f-172941f0e672", + "896de325-d7e3-410b-ae28-3a13c85e4184", + "Cathy", + "Brian", + "Say think nothing." + ], + [ + "864c3652-f91c-4e9e-bf1d-da788794a92d", + "961021f6-e706-4751-b233-c27e6760b9ef", + "Laura", + "Maria", + "Season financial." + ], + [ + "81bf6cec-bfc1-4745-8bd2-ce6100df47c7", + "96245273-5e47-428a-b9bb-5bd651bdaed8", + "Evelyn", + "Gregory", + "Name attention unit." + ], + [ + "af1425f5-feaa-4038-952d-39bd4571a3c8", + "aef861b0-037d-4392-883d-4b4a712f5e41", + "Samuel", + "Eric", + "Wife if look into." + ], + [ + "572cac00-0405-40da-9b83-24930e1e8da1", + "ed1c8abc-6b9c-4c56-a3c1-254c13c4a3d1", + "Jill", + "Lori", + "Interview religious." + ], + [ + "32281fa9-cdd0-4926-91e4-5b0922ba1ecc", + "d4ee8e29-0646-4f40-be4e-6826e3cbadbb", + "Joseph", + "Ryan", + "What tough adult so." + ], + [ + "c89c69dc-5ac5-41a8-adfc-3aab3b6dbc28", + "651e8712-c8a3-4f80-8ac7-fddba9920d36", + "Robin", + "Julie", + "Describe occur." + ], + [ + "93642b59-17d2-4012-a526-c91a2f3a494c", + "40124435-4aeb-4b78-98a0-673af3cb123c", + "Matthew", + "Felicia", + "Sense story on hope." + ], + [ + "58150ecb-52a4-41d2-8cea-57e141ed87ad", + "92052dba-e1df-467f-899c-8b388144c1e8", + "Haley", + "Christina", + "Stage up charge." + ], + [ + "d0077194-10e4-4e84-9cfe-5718eac8a10e", + "863a4036-e47a-4018-bea7-51c6344faa3f", + "Andrew", + "Fred", + "Cost dog establish." + ], + [ + "06e390ec-0d5a-4c75-a20b-170fdf201302", + "ac6f726f-c0a4-46e4-9022-3e427b9628a4", + "William", + "Debra", + "Of action movement." + ], + [ + "dc43a162-0d4b-4216-b3f2-8bb100e02577", + "e4d585d7-d4b6-4ec5-89f4-ed19bf5aafa7", + "Joshua", + "Michael", + "Owner finally." + ], + [ + "a4b58829-6fb6-4e8e-adad-d93ce647c408", + "fc94ff4b-d9b8-4273-900e-f9e34a379845", + "Tyrone", + "Kelly", + "These reach figure." + ], + [ + "70887f27-bbfa-4896-ad62-c56b6c03e887", + "67445775-d9a7-4a58-bd9f-b4c379412677", + "Justin", + "Grant", + "Impact focus." + ] + ] + } + }, + { + "id": "03ca114b-c44d-44f1-aeda-c9c68307444e", + "name": "fact_line_item", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item", + "description": "The fact table contains information about the line items in orders. Each row in the table is a line item in an order. It contains product and product variant details as they were at the time of the order. This table does not include information about returns. Join this table with the TODO fact_sales table to get the details of the product on the day it was sold. This data will match what appears on the order in your Shopify admin as well as the in the Sales reports.", + "version": 0.1, + "updatedAt": 1638181702114, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/03ca114b-c44d-44f1-aeda-c9c68307444e", + "tableType": "Regular", + "columns": [ + { + "name": "line_item_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the line item. This column is the primary key for the this table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.line_item_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "billing_address_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.billing_address_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "order_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the order. This column is a foreign key reference to the orders_id column in the fact_order table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.order_id", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "product_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the product ordered, unless the line item is for shipping costs (you can add custom items using a draft order). This column is a foreign key reference to the product_id column in the dim_product table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.product_id", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "product_variant_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.product_variant_id", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.shop_id", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Name of the line item. This name combines the product title and the variant title into the following format: product-title - variant-title. If there is no variant title, then the format is product-title. This column is the same as order.line_items.name\"in the Admin API.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.name", + "tags": [], + "ordinalPosition": 7 + }, + { + "name": "product_title", + "dataType": "VARCHAR", + "dataLength": 150, + "dataTypeDisplay": "varchar", + "description": "Name of the product ordered. This column is the same as order.line_items.title in the Admin API.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.product_title", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "price", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Price of the product variant.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.price", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "quantity", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Number of product variant items ordered in the line item.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.quantity", + "tags": [], + "ordinalPosition": 10 + }, + { + "name": "requires_shipping", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Whether the product variant requires fulfillment (shipping). For example, online gift cards don't require shipping.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.requires_shipping", + "tags": [], + "ordinalPosition": 11 + }, + { + "name": "taxable", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Whether taxes are charged for the product variant, otherwise contains 0. For example, when the line item is a gift card, taxes are not charged.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.taxable", + "tags": [], + "ordinalPosition": 12 + }, + { + "name": "gift_card", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Whether the product variant is a gift card.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.gift_card", + "tags": [], + "ordinalPosition": 13 + }, + { + "name": "grams", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Weight of a single unit of the product variant. Contains 0 when the product variant is a gift card.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.grams", + "tags": [], + "ordinalPosition": 14 + }, + { + "name": "product_vendor", + "dataType": "VARCHAR", + "dataLength": 200, + "dataTypeDisplay": "varchar", + "description": "Name of the manufacturer, wholesaler, or other vendor of the product.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.product_vendor", + "tags": [], + "ordinalPosition": 15 + }, + { + "name": "fulfillable_quantity", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Number of product variant items in the line item that require fulfillment. Some product variants, such as gift cards and digital products, do not need to be fulfilled.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.fulfillable_quantity", + "tags": [], + "ordinalPosition": 16 + }, + { + "name": "fulfillment_service", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "Name of the fulfillment service provider that fulfilled (shipped) the variant ordered. Contains manual when there is no fulfillment service specified for the variant.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.fulfillment_service", + "tags": [], + "ordinalPosition": 17 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 20, + "percentileRank": 0 + }, + "weeklyStats": { + "count": 20, + "percentileRank": 0 + }, + "monthlyStats": { + "count": 20, + "percentileRank": 0 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "line_item_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.line_item_id", + "joinCount": 20 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "line_item_id", + "billing_address_id", + "order_id", + "product_id", + "product_variant_id", + "shop_id", + "name", + "product_title", + "price", + "quantity", + "requires_shipping", + "taxable", + "gift_card", + "grams", + "product_vendor", + "fulfillable_quantity", + "fulfillment_service" + ], + "rows": [ + [ + "4ca9fa89-714f-4b5b-a6b8-98f083779983", + "2ec0e101-2435-41c0-94ea-d4be0ce10c42", + "7039feae-91b4-4b81-80d7-9e72e2d02843", + "0132b4a9-ba95-4bb0-a655-b831e3da0b2e", + "d8c36883-70e3-4ea1-9da4-39c353525fcc", + "bb88b658-82e6-4279-96cd-1b9d6a4d1333", + "Laura", + "Deal upon occur.", + "$9,914.64", + 5979, + true, + false, + true, + 7939, + "News choose.", + 2142, + "According marriage." + ], + [ + "d4806acf-07e5-442c-91c0-0ddc7a7c6e4d", + "6e9a7cdf-3194-45b4-97fc-45669c9b9a28", + "005178c8-67e6-40d1-ba64-aeb450db2d71", + "3b7f67fd-bc9b-4cb3-8a21-18a31eb28ee1", + "67b1e6a9-3a03-452a-a9ef-09a650277c8d", + "d6029550-1108-4b52-b8f0-4e07fdf0d517", + "Michele", + "General west.", + "$57,223.04", + 4841, + true, + true, + false, + 2801, + "Action sell way.", + 3717, + "Surface police." + ], + [ + "72484ffb-8f20-453c-911f-f67f14a76887", + "31b253e2-4e92-46e8-ab6a-704384b6d3ab", + "04aaf391-c1d1-4183-99f5-c3282022a179", + "28743718-7a04-4c53-8e54-4970bc0c2f08", + "9bb653bd-c564-40b4-ba06-6c63c5bb054e", + "74095d85-b6a3-4c81-a5b2-33671ac520e7", + "Louis", + "Partner action.", + "$70,004.41", + 3607, + false, + false, + true, + 7036, + "Base step hour.", + 5698, + "Range cover." + ], + [ + "bb01144f-be1d-4d5d-a15c-35a314ae3e5c", + "9253ed71-9882-4daf-a289-9f255401d274", + "4add1f08-29d1-4a3f-ae39-8f553889eb5b", + "500333c9-64ec-4805-b238-22aa77d9acdc", + "dadcc271-6527-4e40-b406-44ee6672c81a", + "aacd14cc-d57d-4609-b942-654bd407be5e", + "Christine", + "Return minute.", + "$4.06", + 2132, + true, + false, + true, + 5676, + "Him under hair stay.", + 99, + "Gas particular." + ], + [ + "1ba6db1a-5c8b-49a3-a8fa-b1eac6fd7ab4", + "a6a515ee-ae6a-448f-88ef-ba3838130bb9", + "cc0dd98e-dc4c-4d1c-a35f-0790b49434a7", + "a3058136-b454-4873-99af-80b5d4e58d1b", + "8f755e45-1a9f-4b88-86af-b28b8075346b", + "25178533-aee4-4c65-93ff-17faa5be65ab", + "Evan", + "Coach arm area city.", + "$88,018.38", + 930, + true, + true, + true, + 7360, + "Hear rate according.", + 5043, + "Along by imagine." + ], + [ + "db1a74f7-e229-4ded-bf5c-9fa76c8632f6", + "1d6f86e8-40b7-48bc-80e0-869760ae1431", + "a4cd1706-4679-4f71-89bf-c0ead41c8381", + "c7e29571-9432-4bb6-9c48-8567e7724607", + "6b719066-08f6-41cf-854c-873ee2943138", + "82fa8b2e-cf1b-4a7f-a15e-1bcb03050884", + "Colin", + "Success change.", + "$17.64", + 7533, + true, + false, + true, + 4816, + "Water time seem.", + 1140, + "Town training." + ], + [ + "d879c74e-e7aa-47cc-aa49-b365df65ffda", + "bc2c6433-3ead-4132-9753-2490b46db3dd", + "56f504e6-07ee-4f15-a59f-fe072f494719", + "a8de93c5-4033-46e2-a468-1a50a1fd87ff", + "500d2292-7610-437d-8e11-88e7ad0fa71d", + "2809d1cb-ea3f-4f3c-9234-86a3d506d098", + "Cody", + "Get detail rather.", + "$4.42", + 4392, + false, + false, + false, + 9634, + "Real either wait.", + 4276, + "Discover still." + ], + [ + "d0bd4e02-eff5-480f-b528-3b2babc66437", + "01afacca-a6c4-4b18-97da-af16889b60bf", + "631144a0-a3a7-440a-9b14-8b91520f6098", + "ef0e6ad6-5234-48d8-af53-77a2ab20e2ea", + "4a29ce07-475b-4fea-9b51-6222b615a5ea", + "b020b91f-db5b-4bc5-8085-1bd04dcbef04", + "Christine", + "Business back.", + "$6,565.29", + 3064, + false, + false, + false, + 5612, + "Reveal half choice.", + 9641, + "Risk program party." + ], + [ + "40ca38d2-f306-4aab-8938-21645187a090", + "d217b90e-f981-48a0-a35a-af535ef97b76", + "abff3f7a-ac8b-4366-9f52-6fc75842ad2f", + "41b10790-658b-49ce-b862-14f236e3f451", + "9270f8b0-d4a3-4d23-8e59-5314e1fbc17c", + "89a9af1f-e206-4a1a-ab52-58de8402eaa2", + "Sean", + "Eight make fine.", + "$70,061.09", + 8982, + false, + true, + true, + 4033, + "Color budget early.", + 1235, + "Sit worry side." + ], + [ + "a10ecb55-8471-4626-8b70-cd05cedbb794", + "fb3103b5-49e5-4e09-af25-0cf0e7e7af9c", + "882e891f-1006-40ed-b0aa-3f50a2587298", + "b5c328b5-8614-489a-9352-f969bab6335b", + "5300add5-421e-4b93-bff3-469fb2e22a09", + "531055f5-e2f7-4530-840b-03aea2c7bb93", + "Regina", + "Democratic former.", + "$0.91", + 9736, + false, + true, + false, + 6330, + "Fund avoid.", + 4827, + "Major rest image Mr." + ], + [ + "bf96cbff-f98a-4b0b-b4d8-b36afe8bc5dd", + "fcb189d8-74b6-4b8b-a30c-0836d4b315b6", + "2e0601f9-58a2-4046-9bb2-cf7569798ed1", + "51af6633-f4de-4e57-8734-dcb6eddb3d7d", + "8d27469a-8aa6-4144-8514-2b9b3ed99550", + "8369bc1a-3b50-4e29-8959-ceaf2e4dd2af", + "Eric", + "None carry great.", + "$481.98", + 7265, + false, + true, + true, + 1186, + "See deep name heavy.", + 6287, + "Scene final." + ], + [ + "03de810e-260b-4ebf-baeb-2c491a7d7d7b", + "ebe48faa-98d1-480b-9341-b85508cd584e", + "4c57ffc7-b2f5-4aa1-a5b4-f76a10d8269b", + "04080ef4-9fe0-4314-aaa3-ce0cf93fdc98", + "fe9ba773-cc3e-427c-8d1d-715b2d1fa0e6", + "a752d22b-8dc3-4b00-8a8a-cdca013786eb", + "James", + "Use difficult least.", + "$7.21", + 7002, + true, + true, + false, + 7769, + "View determine walk.", + 8652, + "Statement after." + ], + [ + "7f0caa5f-f272-4573-81ae-06d1f84ed098", + "a38a5f3e-ec42-4c4c-a5c3-bb754b88aa1d", + "1ed58a66-c90b-41e8-bfca-ebe82ec4fa0a", + "b960e17e-bbd0-430f-9824-c1a8749321b2", + "0ae58341-a326-4893-9842-64d2fa38ef5c", + "73359438-e456-41c1-b442-704e5f8ca8e8", + "Kevin", + "Pretty figure young.", + "$6,774.51", + 5830, + true, + false, + false, + 5799, + "History receive.", + 4782, + "Check mention hotel." + ], + [ + "559f8fd9-0b07-4b1d-9e56-2a1057dd25c0", + "9e8ee21f-32c3-48c2-bd27-8c06e7c58415", + "7a0cdd26-9c00-4025-a428-bdaebf107e1f", + "4b312f0d-01cf-435d-ae7c-ba1b3c8da419", + "0f274c0b-6532-44b6-83f6-52588d227520", + "71c0ff3c-e987-4eeb-85a2-98399bec1cb1", + "Joshua", + "Discussion speak.", + "$36,772.66", + 3339, + true, + false, + true, + 5142, + "Year respond large.", + 6083, + "Your improve allow." + ], + [ + "379f5f62-3c11-4f39-be3e-2ac070ad2f64", + "ea303d36-e898-4c15-9d20-388ab2ae938e", + "0c80b510-4e96-420a-b861-8bb488ea6cd8", + "7b686e7b-5c0a-473f-9487-0c6f73f93ac5", + "daf28169-abef-4b58-80e3-a589a0418d72", + "cac447f2-96b4-479a-aa4f-e91e0591796e", + "Dominique", + "Skin if stuff.", + "$5.37", + 974, + false, + true, + true, + 4725, + "East policy admit.", + 6418, + "Born write young." + ], + [ + "9ed2060e-7107-4457-94fc-6ae5f99c4f55", + "b421167d-6f38-4d5e-b467-ca6e404c982b", + "c7f6549b-b615-496f-afd5-c6d939ff7f86", + "45b1143d-8034-4353-9649-d6280a0655c0", + "f4fca0fa-e0a9-4b0a-87bc-73a9065a1c79", + "525ea0a2-aca1-4f3b-96cd-b64a94b97ece", + "Tammy", + "Attention beyond.", + "$3.03", + 5324, + true, + false, + true, + 6970, + "Item we lot budget.", + 2404, + "Top truth." + ], + [ + "5331470c-523d-4eeb-b457-73df8d8d8efe", + "941af442-011d-45d0-9981-9ab1e0dda885", + "2703e97e-1ff2-4969-bc8f-ed7c9e5525b7", + "279bffe8-b40e-4ca4-ab03-40e6faa3fbb8", + "3bc96797-41cf-4081-8171-ee760e40aca2", + "71dbe634-9620-4eab-8fcd-02654aacffc6", + "Linda", + "Phone into right.", + "$10,489.64", + 5343, + true, + false, + false, + 4009, + "Environmental hotel.", + 9795, + "Pass outside sport." + ], + [ + "610d701b-f27b-4712-abc9-3dcef533c680", + "a1b64330-6a09-484b-b3a4-9c9caba9ceec", + "24568711-2792-4e4a-b746-f8b7e699b657", + "480f9184-3ce6-4ca6-beaf-bea201ced516", + "8b7cfc15-72ff-401a-8a29-5e8a6ca0beff", + "8653e6ef-3d66-4621-8ef4-f45f7884376d", + "Briana", + "Environmental night.", + "$24,627.43", + 4911, + true, + true, + false, + 8998, + "Agent bring discuss.", + 572, + "Get direction." + ], + [ + "9a128679-b3f5-4c06-a9df-1125c1f3b954", + "72689cbf-7f92-46f5-924c-7b66a015ad29", + "1580e088-d4d5-445c-a4c1-0a3a6e285c11", + "b7351aa3-7c97-4e64-9ab8-0e71557e2700", + "762963d6-8078-4cac-a9d0-efd543ca9ddf", + "b9fa2460-e130-4eb9-975a-9dbb257deb15", + "Shawn", + "Modern amount use.", + "$1,016.10", + 340, + false, + false, + false, + 2796, + "Of standard role.", + 1302, + "Figure charge walk." + ], + [ + "4fe4f277-87f6-4566-8572-ab7caf04baa6", + "2c157b27-105f-4c3c-b581-697bf435cd52", + "94e1e2af-0cb6-4b7d-bfd4-e78fb422d662", + "e7f33c68-d93e-475e-afaf-88628a2a09f7", + "9392e429-5834-4d3e-9b48-fa0e67073b38", + "10af2174-f530-45a2-85b5-57ab25fe6c6c", + "Erin", + "Man form no let.", + "$153.20", + 7080, + true, + true, + true, + 3848, + "Computer final.", + 726, + "Raise assume." + ], + [ + "f17bc846-21fc-4736-ba94-bce8799b1ac3", + "248f1929-646b-4ff9-a953-d481d58fda15", + "5d671008-ac18-4912-a1c6-50a3e2b24aea", + "b68cb3f5-28a7-41d8-905f-be9052a55453", + "7bb91b74-8b4a-4d8a-9a8b-782a300a3b9b", + "d3192fee-e59d-478f-a0fe-64be0d9475fc", + "Jessica", + "Number gun at black.", + "$365.85", + 6896, + false, + false, + false, + 9414, + "Many they rich.", + 7190, + "Today performance." + ], + [ + "b25aa4e0-c1d8-4fce-87c3-c8a8b145c515", + "421b979a-1425-4df6-8ec0-5ad713f017c0", + "ca341d87-5a29-4ad4-94ba-1176b6eb0b06", + "6db864c5-0c9f-420b-bc60-0b0727a23b12", + "180a0602-5752-424b-b2f9-5920fc0295dc", + "5ef6d363-e612-4a47-8bd6-1a0425938515", + "Jocelyn", + "Family less.", + "$36.31", + 7088, + false, + false, + true, + 6876, + "See people machine.", + 6050, + "Water we end." + ], + [ + "24c49b41-e5a6-4544-9cba-db14724cc305", + "012ba921-e470-4378-87f0-8c413f0346e3", + "074dd829-7676-4942-a2a2-7588a644a370", + "a22f9de5-f533-4e80-afa1-537d18f02734", + "380a1229-aa54-45ec-ada0-abd167f5f678", + "a93e07f3-2f0f-4520-b441-41c7017c87be", + "Michael", + "Decade difficult.", + "$37,128.46", + 9213, + false, + true, + false, + 3629, + "Material detail.", + 5138, + "Eat describe option." + ], + [ + "838304a0-f017-426f-9965-a91367c5f9cc", + "1d22ed29-c096-432b-8740-2da1e3a28cc2", + "fda686d0-60c5-4a3f-85c0-f894029f2480", + "36d96609-1214-4384-a0c9-9c9f42cf0297", + "fd7f586c-ff72-46e8-9bc9-8121531ab815", + "61b11b86-2921-4387-82e7-43ea52d1bf81", + "David", + "Discussion enter.", + "$88,202.83", + 75, + false, + true, + true, + 7055, + "Special assume four.", + 9647, + "Travel water." + ], + [ + "67aef9b7-92d1-429b-989a-c690ed527838", + "5562c384-0b3c-4d68-9a92-0d7f07d79af4", + "805e68d9-4755-447f-a578-25dce4cb6d1d", + "eada9e6c-dbca-45db-8457-37ff6017c303", + "76f68673-14b5-4a6c-a704-500d54fd19b3", + "426ea531-fec4-4e43-9f79-50d82c2a81d1", + "Teresa", + "Main also kind fall.", + "$76,306.97", + 8701, + false, + false, + false, + 1724, + "To degree buy floor.", + 2564, + "Too modern health." + ] + ] + } + }, + { + "id": "eab635ba-3d9b-4f96-8fbd-628d0a75e9cf", + "name": "fact_order", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order", + "description": "The orders table contains information about each order in your store. Although this table is good for generating order lists and joining with the dim_customer, use the sales table instead for computing financial or other metrics.", + "version": 0.1, + "updatedAt": 1638181702166, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/eab635ba-3d9b-4f96-8fbd-628d0a75e9cf", + "tableType": "Regular", + "columns": [ + { + "name": "order_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Unique numeric identifier for the order across Shopify stores. In your Shopify admin, this ID is used internally. Most merchants are familiar with the other ID that appears on orders in the Shopify admin. This ID can be found in the Name column.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "api_client_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the API client that called the Shopify API. This column is a foreign key reference to the api_client_id column in the dim_api_client table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.api_client_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "billing_address_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.billing_address_id", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "customer_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the customer. This column is a foreign key reference to the customer_id column in the dim_customer table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.customer_id", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "location_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.location_id", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "shipping_address_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shipping_address_id", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shop_id", + "tags": [], + "ordinalPosition": 7 + }, + { + "name": "user_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the staff member who created the order. This column is a foreign key reference to the ID in the dim_staff table. This column applies to Shopify POS orders and to orders that were converted from draft orders.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "name", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The identifier of the order that the merchant and customer sees. This is the ID that appears on the order in the Shopify admin. For example, #1001. By default, this identifier is unique to one store. If you have multiple stores, then use the order_id column to guarantee uniqueness across multiple stores.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.name", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "total_price", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The total price of the order, including shipping and taxes. This column includes gift card sales, but does not include returns. This value may not be accurate for API-imported orders. Do not use this column for financial calculations. Instead, use the total_price column in the sales table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.total_price", + "tags": [], + "ordinalPosition": 10 + }, + { + "name": "discount_code", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The discount code that was applied to the order.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.discount_code", + "tags": [], + "ordinalPosition": 11 + }, + { + "name": "processed_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the order was created. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.processed_at", + "tags": [], + "ordinalPosition": 12 + }, + { + "name": "canceled_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "If the order was canceled, then this column contains the date (ISO 8601) and time (UTC) when the order was canceled. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.canceled_at", + "tags": [], + "ordinalPosition": 13 + }, + { + "name": "deleted_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "If the order was deleted, then this column contains the date (ISO 8601) and time (UTC) when the order was deleted. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.deleted_at", + "tags": [], + "ordinalPosition": 14 + }, + { + "name": "test", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when the order is a test order, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.test", + "tags": [], + "ordinalPosition": 15 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 185, + "percentileRank": 73 + }, + "weeklyStats": { + "count": 185, + "percentileRank": 73 + }, + "monthlyStats": { + "count": 185, + "percentileRank": 73 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + } + ] + }, + { + "columnName": "api_client_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + } + ] + }, + { + "columnName": "user_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.shop_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + } + ] + }, + { + "columnName": "customer_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + } + ] + }, + { + "columnName": "order_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 30 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 25 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 5 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "order_id", + "api_client_id", + "billing_address_id", + "customer_id", + "location_id", + "shipping_address_id", + "shop_id", + "user_id", + "name", + "total_price", + "discount_code", + "processed_at", + "canceled_at", + "deleted_at", + "test" + ], + "rows": [ + [ + "a1a14a36-82f9-429c-80c8-8a0c81fe0a8a", + "7796a420-32bc-4a3b-87be-5fe125bb8c9a", + "bc77c055-ca07-4af1-8232-741eb525be47", + "c5f791ff-56f0-4c66-986d-bdd14433067b", + "55881565-e644-4c3c-bcef-a27c9c74de24", + "42b7b17f-4267-4fec-aad9-f5e8fa0cbaac", + "9e7f69d8-17fd-466f-a7ce-954171d9be7e", + "22108f6d-c668-42dc-ad05-0a5039f13d62", + "Carl", + "$3.24", + "Fall lawyer must.", + 1613569569, + 1313701033, + 1590516821, + true + ], + [ + "f70e6726-6882-4d1d-8f62-089ff436ff83", + "b9a17f25-9646-48fd-a47b-687b9acdac8f", + "d0a8ad43-9805-45de-be3f-b217811faa18", + "dda78944-eef3-4e7e-8c72-43daf31c6866", + "b4a69cbe-1e26-4dd4-8cc1-ca125c6caf69", + "bfe1db45-a739-41bc-bc5d-0f8f33fe4d32", + "d00c5b25-7be2-465d-b659-a871ffbfd6ae", + "f6c2d551-afd0-4c16-ae6b-3d00b0547faa", + "Cassidy", + "$4,883.22", + "More fire stage.", + 718348579, + 110050546, + 961400766, + true + ], + [ + "8589165b-809d-41a3-ac8c-fedcb97ca9d4", + "01d30fbb-6c47-4c76-bc03-3fe073ab7751", + "6bc263d2-b238-4daa-8392-36224e73c1e8", + "8a63da62-c209-4feb-bcce-32e30a0ec688", + "3dab0715-80a6-4863-ba3d-3dc1e4df8de2", + "31f4d81e-ea66-425b-8df1-e0242bc2bf38", + "74afa39c-ea61-4de7-82dd-d8e34c4254a5", + "76fd66e2-180f-42c0-9ba6-3eb7794e8fd1", + "Cynthia", + "$5.49", + "By financial second.", + 1629783579, + 1633643081, + 417055575, + true + ], + [ + "cbd354c2-9f77-45ee-b35e-ef9655833859", + "f48be203-4c8b-4e1d-95c0-741864aa7096", + "7dbb1b1d-a88a-40fc-8c36-2e2d04aa5fae", + "f3336aa5-7a8c-4b74-9089-177dcd3c4c65", + "814a1617-dd7e-4df3-9ce2-9fe7f1d34b96", + "7587568e-40c8-4187-80d5-4bfc6872ec55", + "7abba5f7-8d00-4fad-9776-98fc266cb47d", + "12b6bf7e-b090-43e6-a7f5-fa5e29062fd5", + "Kenneth", + "$47,535.07", + "Single article.", + 326625184, + 731024093, + 1259601211, + false + ], + [ + "9219c786-8581-4ba4-bb2d-5a0c02b02f5a", + "475ec321-535c-45f8-9ddb-bc1f85f5f30c", + "bef80304-4605-438e-9967-81123913669d", + "a31e536b-071d-4582-8f57-7ae22deb0747", + "425fdb8a-1f00-4f1f-990b-caaa40025927", + "a9afb816-3e45-42ee-aa05-f406df31be85", + "4729ed95-96f8-489a-b07d-1cf2ddf13a84", + "0ec79777-9708-4dbe-8789-6a36706bee21", + "Jasmine", + "$9,143.55", + "Quite alone leg.", + 1150669232, + 1353937913, + 1270545978, + false + ], + [ + "31e02d44-e427-492a-9bbd-9b263a0c3e1c", + "e7849908-e7d7-4df1-bde5-3e22daa35edf", + "90988ecf-a1d2-4507-b49f-e655ec32277c", + "9ca5c8ad-f5f6-4e11-9ad8-445b231e1847", + "54965905-081d-498b-b2af-12dea8a794eb", + "2d88920e-c5be-42ff-a5da-7209542679cc", + "8127d269-59e7-456c-b9b6-c5d1164b49d0", + "a2b59622-ca4f-47ed-b127-4f9bfdb96311", + "Christian", + "$9.58", + "Recognize purpose.", + 99061144, + 107279089, + 681757394, + true + ], + [ + "91c49dff-78ac-4048-8bdd-1c7992df239f", + "838f4b1e-42c5-476a-adcb-34aa5468acaf", + "5ba58633-201b-4b76-a3ea-b05dd4b4f550", + "4c6c1405-5a09-42b8-a990-74bc392591ca", + "a93ad7df-89fd-45f4-8369-ba3ab3aea574", + "40b151db-0dcb-4297-aa83-de85d005808d", + "b78cd774-2d53-4bff-be15-4cde38bf76ed", + "7c1c8b9a-c589-4d52-abeb-d5fcd6766132", + "James", + "$46.66", + "Series these just.", + 541551216, + 1615886478, + 138420676, + false + ], + [ + "7c3bd36a-a9c1-40a0-8fd7-96a73e777d20", + "07c32643-1e44-4802-9c02-f6ac5e8a9c56", + "e2f4d84e-12d1-4c8d-97e5-1dc237892a6a", + "0789214e-9b5b-41d4-b5d4-93442733cc76", + "2fc12bd1-7232-40e6-b64e-2cc67fa38e77", + "2ccf45c4-287a-4ac6-9bf0-836ff67cc982", + "1628922c-7eb5-4c05-83ae-5d08ba3a5892", + "95822d51-d1ee-4be0-afa3-d0da234ed9ee", + "Heather", + "$8.05", + "Task remain hand.", + 1273617339, + 1456526595, + 723558499, + true + ], + [ + "40b1d563-7b73-46e6-8052-fceb2f9901e2", + "fff165bb-0a40-49ea-bbf5-cce53d8cb553", + "f76175e8-bab6-4948-81bf-8cc30f94d117", + "a9191cf0-0596-4fd7-acfe-dc414e283ae8", + "c1c7dff4-2755-41d7-804c-01c33763c75d", + "aa78c41e-a056-4235-9e4d-18415f0c10a8", + "745f55a1-4ee9-4d8b-99e6-ee6636b88351", + "0a7a6d89-059a-4f4c-8f4e-d783b9a0894c", + "Virginia", + "$58.05", + "Whole even tell.", + 779170013, + 866307583, + 573424384, + false + ], + [ + "1b49b6b5-9b12-45d0-922a-3ca81baf21bb", + "5444d5cf-af11-4891-9478-9e405c4868eb", + "26ae5010-ced0-44b1-84ce-7929d60969d7", + "b9592eaf-c8a6-4a22-8538-3ae692c9001c", + "14c3df7c-4b48-4c5c-9bd9-507fce924bca", + "25639940-0b8c-4f22-85fc-8447d9781168", + "651275d4-7fcd-4df3-90cc-eda97efdcad2", + "1574aaa0-a57f-4b29-8271-cd5f91c4f6cc", + "Joseph", + "$31,209.87", + "Few prevent network.", + 1399272305, + 289498744, + 569380731, + false + ], + [ + "671fc91f-3d06-4f3a-8097-900a4757f833", + "c3516dae-6ae8-4921-a5cd-f0e17fc29b84", + "4d659a6c-9d18-4607-8869-35dcd8d24b77", + "b3703db6-fb52-45e0-9a1c-5109f9ca4e96", + "9f6ab22c-ca64-4bdb-826d-0e4e17aaa2fd", + "9d12c5e8-28e2-436a-ba00-587bde5168a9", + "ebdb013e-2b58-417e-aace-458b15772961", + "25692d3d-3dcc-4a15-97db-91f81ee72bdf", + "Jennifer", + "$90,041.65", + "Group lot never.", + 786996872, + 1594505266, + 1089827259, + true + ], + [ + "f7bb17d4-a60f-4264-a1d0-bf2bd81dc994", + "8fa074ec-f980-4415-8e6c-4211f3329c72", + "83508383-3df9-4a15-a157-fb5f3c8ea9e6", + "c5a838e7-e658-4897-af27-192c29d8a7ae", + "8d22b608-eefd-4b1f-aa3b-0aa58a53ff50", + "4d048306-b37d-4484-b608-3ce3f92d1c4d", + "6df1441f-c1af-4fe8-ab11-640b569531c6", + "f3c314a2-a902-481a-8c04-5f24cea06b35", + "Jessica", + "$69.08", + "Five add car start.", + 1402978590, + 69595945, + 1043838764, + false + ], + [ + "81e8f875-427c-428c-a494-cdf9e0a9a02b", + "fcb53890-0e3e-480b-9cf3-9b4ceb5d3c95", + "4a84108c-1aa3-42a8-b69d-1730fd8fd10d", + "2c6480c4-1e3c-4572-af8d-d334ec54bec1", + "9c79e285-5d46-4b4c-9ca0-8ee745cdcbe6", + "88afd238-4234-4aa7-a770-fd779d9dd33c", + "975d19a8-a2c2-41bc-b729-f357314148dc", + "10edc5f6-304e-4460-ad4a-7f8e02158fa5", + "Christopher", + "$60,246.93", + "Many smile.", + 1278588022, + 373116329, + 822949808, + true + ], + [ + "5665d4eb-f8ca-453d-a0d0-74d893f470c1", + "2394d112-2418-4548-873e-d178af877922", + "99a5a35b-8d79-436a-a546-5dea405f0675", + "745cc77b-85aa-4ff2-beb7-f2f9882f2011", + "c667ef24-9539-4abc-a67d-2d1993014aa7", + "5d25786c-0d11-4511-8029-439d3474f5c2", + "21cc506a-dda5-4e72-bf7b-5409e4040853", + "3bbf36a0-89ac-42ca-af17-fc60b252fe65", + "Charles", + "$5,604.68", + "Type bill realize.", + 501920233, + 1474081719, + 363113711, + false + ], + [ + "c8eea4e4-905b-4de6-8ed7-3bcc801fb755", + "2c0b3ef2-2f9f-425c-9582-d8f86056903d", + "2746925b-991b-4562-808b-305c771a239f", + "a1c64ad5-4818-43cd-8c2d-2795ac7db7e5", + "c44d0bfa-fec3-44ce-ace7-395eb9fc27e4", + "1c27db40-716d-40df-88ee-7a48dc2254ad", + "df88377d-6075-4ffb-b5aa-fb74b406d8bf", + "aea264ff-6e22-4c58-a6ce-991d6169755c", + "Lisa", + "$9.24", + "Professional myself.", + 1069892499, + 819790759, + 500537459, + true + ], + [ + "f3f4b0ed-3eb9-47ef-8417-1ee4781dc7a5", + "b5a04a41-37a0-4751-8951-2786cbe2ef6d", + "51a50fc3-c7f0-4edb-ace3-b46512872668", + "faed0626-e53d-4ea6-9589-389600b75cce", + "eeac425e-9f8b-4c37-97ff-a886423a83c0", + "4f94dd73-1aad-4cae-9223-3342c3080773", + "84323460-d769-4deb-982c-062aac15cd19", + "a0c9a222-28a6-463d-beed-e5281879b4e1", + "Adam", + "$4.36", + "Office western lead.", + 987356722, + 1244171542, + 1040315361, + false + ], + [ + "43c42fd5-98b3-46b0-826f-e36668c68454", + "b0e09695-f9dc-4fec-af34-ec21131dbffb", + "d5b6bada-92b4-45b5-9df3-9bd89b527de4", + "fd58c08d-816b-43ef-8146-bfed4dc804a1", + "35131e15-825b-462b-a17f-d8bdeb1f8489", + "4791fa50-695b-437a-b688-c9c6458a9a92", + "e175a70f-971f-42dd-a6e1-069c6e2eebd4", + "2104a1ec-5298-4b8e-ad73-36dcbd258634", + "Brandi", + "$6.24", + "Onto serve against.", + 290005835, + 284788640, + 391657760, + true + ], + [ + "a33c5679-d222-4066-a2ab-79013c1856bf", + "a7434b75-fd51-45b4-b8d5-d50143bf0ae2", + "98617763-a4ea-4e2d-acb3-a7c472a75144", + "06000c23-e52a-4ef4-b944-20b7536a52da", + "6e5c62a0-af00-4a91-a250-530b43d776fc", + "38b2c494-7e92-40b4-8195-7f9a577c0d7f", + "ac2e9214-b8c7-4b81-8c9d-223abfe2a339", + "4cd26f71-ef92-4674-b596-1ec1284ca11f", + "Whitney", + "$78.41", + "Near bring sound.", + 1357920802, + 1239568344, + 1628026380, + true + ], + [ + "0129fab4-4cdb-4e6d-9913-6087071e6d6f", + "ed03336c-b152-4b8b-abf5-ab425d53e0f8", + "519c263d-47f9-4f1a-b650-47e1a9cd8e64", + "4df4602f-ca51-4c31-b49e-bfb4cc92877e", + "cb200f8b-3393-436c-890a-8c3f631f8815", + "3faa87f7-d065-492f-9b99-3d080148a4e3", + "864b0ddf-3619-4ee6-9f53-4d6d334a00f8", + "e1d7f563-ac80-4a57-877d-64f673588bf3", + "Douglas", + "$6,267.28", + "Around statement.", + 1355238861, + 1200758520, + 409967087, + false + ], + [ + "d0e94395-f2ef-49c0-9382-0073cc0aaf5f", + "47cdfa3d-cb02-4e3b-b098-aeb8779478c4", + "66deaf42-4085-435c-91e1-f424e96d371a", + "2d6ff565-c8a7-4426-9e8d-7d977c9afc02", + "ff91ccac-3cae-4fcb-b044-1a5ee8754de7", + "fd28b921-ec1a-4239-b541-87fb7a9f9d5c", + "4e18ddd6-f1cf-41fc-bacd-d61e69c0eefd", + "d0764118-060d-4b8b-8298-7958db6110dc", + "Andrew", + "$2.45", + "Do name offer have.", + 1188862847, + 307724166, + 1355698920, + false + ], + [ + "354a04c2-025c-4ce0-b3e5-bb6b28c9b588", + "f12d652a-cc26-4713-b2df-4dd6d5f66c51", + "61e36943-3452-45f2-9694-5ed43d53ce0f", + "246ea8ba-46dc-4058-b3c3-77f89b9e7d50", + "71fdcd20-65fc-4b44-8061-ed0c00ab0281", + "48c512db-d2ab-4157-8e56-82111a4506ce", + "fcde85ba-b182-4508-b955-7f1c3fd1198f", + "81e4d907-8554-404c-a9df-560e799062bf", + "Mark", + "$987.51", + "According system.", + 1266874213, + 1193443725, + 162945832, + true + ], + [ + "de8b8378-66f3-45a6-9b05-3460bc63feea", + "fb95ce74-05db-4f49-a064-80db1b87de81", + "dabba344-cac8-4693-8079-4b3cfa1b439b", + "5478953d-36b2-4d9e-9c1e-a685e0b30a14", + "374aa9af-32bb-42d8-a187-b78507338809", + "47abd79d-8ec4-4f3b-a3bb-53356a4381cb", + "906ae742-c695-4bab-9b46-ea35c3580ad8", + "52f848b8-f622-4771-8d0d-326cf2468588", + "Kenneth", + "$14,533.41", + "Speech pretty.", + 1246415926, + 487283638, + 1388143041, + true + ], + [ + "dad7ffaf-8aab-4d47-8567-c14a365feaa7", + "05854e5f-6c19-4367-a1ce-1df8bd6f49a3", + "c95e5590-b0fe-4769-922f-d77751070d68", + "9144c70f-25d2-4896-994d-9a5323652c86", + "9a440226-8fe2-4fc2-b8f9-37dac125f61b", + "9b21047f-bfe1-45d9-b928-e1b3a728d0ac", + "5edd3eae-3a44-46af-a968-de7c67f40a03", + "a307cf00-41bd-4e01-8bec-0185df250a27", + "Gregory", + "$796.10", + "Control challenge.", + 142097326, + 100803472, + 101116942, + true + ], + [ + "d088b762-8417-4fb5-b260-e01bb904df6b", + "27e2ae6b-847b-43a1-b139-9f29d624fecd", + "f4bece29-3884-4231-b79f-bfa398f73a17", + "880d8ef8-53cc-43e6-a36d-a7c740aa0f7e", + "917f4e83-e64e-454d-be96-c1d7135a8698", + "271f7880-cb56-40b6-85fd-4b3030695bd1", + "1bc5890b-a35c-4db2-8614-4931312ed168", + "806148b7-8981-4778-b3bb-6c5631544adc", + "Leslie", + "$75.62", + "Season skill.", + 792593346, + 151930574, + 1628776224, + false + ], + [ + "1243050c-1790-4163-9272-168a7092f31e", + "9f9abb07-cd24-4845-b1e2-0b60e90216f4", + "0c89d2ab-c33c-457e-9e96-0e37b6cdf951", + "eeda40eb-1a21-4f77-97c1-1e3075a7154b", + "4ec7f53e-c0fa-4e13-b13a-2203d0f350c8", + "472f3fd0-7d93-48bb-aa18-3f51cce14738", + "f21b040f-a0ca-4bcd-89f0-377aef6a3650", + "c57e4dfb-e014-48f5-b24b-dca9607350c7", + "Kelli", + "$11,989.99", + "Mean return number.", + 831532914, + 663513429, + 899449350, + true + ] + ] + } + }, + { + "id": "0677d6c0-ec63-4027-b62a-1cbfa6e03e8f", + "name": "fact_sale", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale", + "description": "The fact table captures the value of products sold or returned, as well as the values of other charges such as taxes and shipping costs. The sales table contains one row per order line item, one row per returned line item, and one row per shipping charge. Use this table when you need financial metrics.", + "version": 0.1, + "updatedAt": 1638181702214, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/0677d6c0-ec63-4027-b62a-1cbfa6e03e8f", + "tableType": "Regular", + "columns": [ + { + "name": "sale_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the sale row. This column is the primary key for this table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.sale_id", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "billing_address_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the billing address of the customer. This column is a foreign key reference to the address_id column in the dim_address table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.billing_address_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "api_client_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the API client from which the adjustment was made. This column is a foreign key reference to the ID of the API client in the dim_api_client table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.api_client_id", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "customer_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the customer. This column is a foreign key reference to the customer_id column in the dim_customer table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.customer_id", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "line_item_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the line item. This column is a foreign key reference to line_item_id column in the fact_line_item table. When the row describes a shipping charge, there is no line_item_id value.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.line_item_id", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "location_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the Shopify POS location. This column is a foreign key reference to the location_id column in the dim_location table. When the order is not a POS order, then there is no location ID.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.location_id", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "order_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the order. This column is a foreign key reference to order_id column in the fact_order table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.order_id", + "tags": [], + "ordinalPosition": 7 + }, + { + "name": "product_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the product sold or returned. This column is a foreign key reference to the product_id column in the dim_product table. When the line item describes a shipping charge, then there is no product ID.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_id", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "product_variant_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the product variant sold or returned. This column is a foreign key reference to the product_variant_id column in the dim_product_variant table. When the row describes a shipping charge, then there is no product variant ID.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.product_variant_id", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "shipping_address_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the shipping address of the customer who made the order. This column is a foreign key reference to the address_id column in the dim_address table. Some sales, such as those made using Shopify POS, do not have a customer's shipping address associated with them.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping_address_id", + "tags": [], + "ordinalPosition": 10 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of your store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shop_id", + "tags": [], + "ordinalPosition": 11 + }, + { + "name": "user_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "ID of the staff member who is associated with the sale. This column is a foreign key reference to the user_id column in the dim_staff table. Not all sales have a staff member associated with them.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.user_id", + "tags": [], + "ordinalPosition": 12 + }, + { + "name": "gross_sales", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Price of the product purchased multiplied by the quantity ordered. This value is formatted in the currency of your store. If the product purchased is a gift card, then 0 is returned because gift cards are not included in gross sales calculations. The gross sales amount also does not include any discounts, returns, taxes or shipping charges. The gross_sales column is calculated using the following formula: product (excluding gift cards) price x quantity (before taxes, shipping, discounts, and returns). Canceled, pending, and unpaid orders will have a value for this column, but test and deleted orders will not.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.gross_sales", + "tags": [], + "ordinalPosition": 13 + }, + { + "name": "net_sales", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Net sales of the line item. The value of the line item's gross sales minus any discounts minus the value of any returned items. Net sales does not include taxes or shipping costs, or the sale of gift cards. If the line item contains gift cards, then the field contains 0. Net sales is calculated by using the following formula: gross_sales - discounts - returns.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.net_sales", + "tags": [], + "ordinalPosition": 14 + }, + { + "name": "total_sales", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Total sales of the line item. This value does not include gift cards. Total sales is calculated using the following formula: net_sales + shipping + taxes.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.total_sales", + "tags": [], + "ordinalPosition": 15 + }, + { + "name": "returns", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Value of the products returned by the customer regardless of the amount that the merchant actually receives from the customer. This value is usually a negative number, but it can also be zero (for example, if the item being returned was a free gift with purchase). Taxes and shipping charges are not included. The returns amount is calculated by using the following formula: 0 - (product variant price * quantity) + discounts.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.returns", + "tags": [], + "ordinalPosition": 16 + }, + { + "name": "discounts", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Total amount discounted from the line item. The discounts column contains the sum of any line item discounts plus the line item's portion of any order-level discount. The value of the discount is either negative or zero. The discounts column is calculated using the following formula: line item discount + order level discount share.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.discounts", + "tags": [], + "ordinalPosition": 17 + }, + { + "name": "shipping", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "When the line item is for a shipping charge, this column contains the amount charged for shipping the order or the amount of the shipping charge that is refunded when an item is returned. This value is positive for a shipping charge, and negative for the value returned. Any applicable taxes charged for shipping costs are recorded in the Taxes column. This column is calculated using the following formula: shipping charge or refund - shipping discount..", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.shipping", + "tags": [], + "ordinalPosition": 18 + }, + { + "name": "taxes", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The amount of taxes charged or returned for the line item. This value will be positive for a sale and negative for a return. Tax on an order is split proportionally amongst the line items to which it applies. Gift cards are not taxed. If multiple taxes are applied (for example, State and City sales taxes), then this column contains the sum of those tax amounts. This column can include taxes charged on shipping, if they are applicable.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.taxes", + "tags": [], + "ordinalPosition": 19 + }, + { + "name": "gift_card_discounts", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Total amount discounted from gift card sales. For example, if a $50 gift card is sold at a $10 discount for $40, then this column will contain $10.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.gift_card_discounts", + "tags": [], + "ordinalPosition": 20 + }, + { + "name": "gift_card_gross_sales", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Total face value of gift cards sold. For example, a $50 gift card is sold at a $10 discount for $40. In this example, the gift_card_gross_sales column will contain $50. Use this column to measure the increase in liabilities due to gift cards being issued (even though this value will not balance against the actual payments that you receive).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.gift_card_gross_sales", + "tags": [], + "ordinalPosition": 21 + }, + { + "name": "gift_cards_issued", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Net amount that the gift cards sold for, after discounts. For example, for a $50 gift card sold at a $10 discount for $40, this column will contain $40. Use this column to balance against the payments that you receive.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.gift_cards_issued", + "tags": [], + "ordinalPosition": 22 + }, + { + "name": "quantity", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "Quantity of the items sold or returned. This value will be negative for returns and zero for line items that contain shipping charges.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.quantity", + "tags": [], + "ordinalPosition": 23 + }, + { + "name": "currency", + "dataType": "VARCHAR", + "dataLength": 200, + "dataTypeDisplay": "varchar", + "description": "Three-letter ISO currency code of the payment. For example, USD is the code for United States Dollar. This is the currency of the store at the time of the order.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.currency", + "tags": [], + "ordinalPosition": 24 + }, + { + "name": "is_deleted", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Contains 1 when the sale's order was deleted, otherwise contains 0.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.is_deleted", + "tags": [], + "ordinalPosition": 25 + }, + { + "name": "test", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "Whether the sale is a test order. Returns True when the sale is a test sale. See Test orders.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.test", + "tags": [], + "ordinalPosition": 26 + }, + { + "name": "happened_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "Date (ISO 8601) and time (UTC) when the order was created for a sale or when the order was returned.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_sale.happened_at", + "tags": [], + "ordinalPosition": 27 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 400, + "percentileRank": 91 + }, + "weeklyStats": { + "count": 400, + "percentileRank": 91 + }, + "monthlyStats": { + "count": 400, + "percentileRank": 91 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [ + { + "columnName": "billing_address_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "shop_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "line_item_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_line_item.line_item_id", + "joinCount": 20 + } + ] + }, + { + "columnName": "shipping_address_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "api_client_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "user_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.shop_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "product_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "product_variant_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "customer_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.shop_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "order_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.api_client_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.customer_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.shop_id", + "joinCount": 60 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.user_id", + "joinCount": 60 + } + ] + }, + { + "columnName": "location_id", + "joinedWith": [ + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_address.address_id", + "joinCount": 49 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_api_client.api_client_id", + "joinCount": 55 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_customer.customer_id", + "joinCount": 45 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_location.location_id", + "joinCount": 50 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_product.product_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_shop.shop_id", + "joinCount": 40 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.dim_staff.user_id", + "joinCount": 20 + }, + { + "fullyQualifiedName": "bigquery_gcp.shopify.fact_order.order_id", + "joinCount": 60 + } + ] + } + ] + }, + "sampleData": { + "columns": [ + "sale_id", + "billing_address_id", + "api_client_id", + "customer_id", + "line_item_id", + "location_id", + "order_id", + "product_id", + "product_variant_id", + "shipping_address_id", + "shop_id", + "user_id", + "gross_sales", + "net_sales", + "total_sales", + "returns", + "discounts", + "shipping", + "taxes", + "gift_card_discounts", + "gift_card_gross_sales", + "gift_cards_issued", + "quantity", + "currency", + "is_deleted", + "test", + "happened_at" + ], + "rows": [ + [ + "11b5d3f8-ee6c-429a-998e-0251d5ffe614", + "5603316c-402f-4d81-ad77-4d22863c6e20", + "38e72a96-1c7e-4d6a-b456-d0ebe1f12623", + "d47dff39-ec1d-47f3-940a-d255b065d4a8", + "c2dc7469-14a3-43c9-9b4c-434cee4a32e1", + "7b64e38f-abba-4ee5-ae36-e780e473c9d3", + "4ab66c10-3838-4e39-8042-74ededfb0091", + "876f21f6-4183-4032-b9cf-f8a68ae21f43", + "fba568a8-706f-4737-acdc-c4890392e0bc", + "1036a543-1fec-4277-9ea0-5bd9c582ee25", + "4212b4f3-4180-4fb5-983a-713e79f11b7c", + "d42cac88-73c8-4650-9ac3-2608f0bf6141", + 5670, + 8923, + 1911, + 7939, + 6884, + 3691, + 8266, + 1892, + 5399, + 237, + 6029, + "$3.67", + false, + false, + 233754564 + ], + [ + "5e4f0c5f-9d7e-4035-889d-d761d1356901", + "8ab1e70f-a871-40ec-8634-110ecfba278c", + "d25d7c30-28f2-4462-8991-a5bc88de2a06", + "60255adf-5988-4fe0-bd50-54f690813d4f", + "73b7918d-98da-4c07-933e-8359c61bdda6", + "038a6146-7c7c-4137-aa69-9380fc9b3d92", + "4bd36fe4-73f7-44b5-93b8-eabd3d09dfd4", + "673f728f-7cb3-4f6e-b3e2-f1a837bfc07a", + "3650ae72-44b3-4e39-b5d9-8097792dd94d", + "543fee80-730d-42d2-8147-a1f63dd932f8", + "7711c471-6f34-41b9-8fbe-fbd82d254077", + "6d9f210e-bb02-4f67-9d4d-c77ace312f70", + 2182, + 1921, + 7263, + 9929, + 7729, + 1351, + 7487, + 6854, + 1920, + 8752, + 2579, + "$744.51", + false, + false, + 28146618 + ], + [ + "f4a367bd-c97e-4b11-bf9b-c4031ba0b646", + "dddf111a-9f6f-4cbe-8acc-0c8bf266394d", + "2bae4e16-47a2-4b6a-a8ff-df80bcc0cf2c", + "62801a70-ad7b-44e4-a4a6-d06d4fc3a602", + "e0ed5d9c-fa06-4090-b60b-4aa95ca70b4d", + "63d179b8-7100-4abc-a1dd-5ad9540d5a1b", + "6b4f4596-3055-4e55-9544-849cce25d2a9", + "144bc324-870b-45de-99f8-251c1e900a06", + "d93a0f96-d3ca-4f9a-92d7-834f98f83a41", + "3881348e-d6cb-4538-addb-44cbd8adbc0b", + "0d154cb5-5a8b-4307-a377-8f3d38d16d00", + "546254a3-1bfe-4d2b-a184-0804620755c3", + 5767, + 8877, + 9174, + 5514, + 254, + 170, + 9710, + 424, + 3177, + 9077, + 9665, + "$95,950.11", + false, + true, + 520824403 + ], + [ + "d2bf4175-5dd8-4b2a-9138-dcdb89a84840", + "0dc7e306-d560-47d0-9586-dde600b9e406", + "410098d2-ce8b-410a-9d04-d086be3bfc93", + "1fc83a7f-4f97-4692-819c-8f44aefc1fdd", + "ad41b7e5-896a-433c-8817-966472edcca0", + "47969539-ea72-4c09-bef9-a5e5607d3eb8", + "bb326d82-5b12-4a1e-90a3-ad48cc07e7d3", + "20e7b722-125d-479b-b52a-5ca1c08e449f", + "3ccfade8-1bcc-434b-a18c-cef960be1694", + "dfc186f8-7998-47cd-aa9c-544cff884527", + "da666e98-83d7-4d65-b596-2503f932d9a5", + "f6445551-87d7-48c8-835c-96ab6ac16751", + 7755, + 4823, + 3339, + 3270, + 2378, + 2736, + 3581, + 1859, + 5455, + 6967, + 9048, + "$6,622.53", + true, + false, + 1214679210 + ], + [ + "15c54e6d-4c71-4696-83c0-b6f2072c3740", + "382d22cd-f840-44ab-ae28-757783695554", + "6e112a7f-1dac-4b6f-b6ed-3475d331ece0", + "6998e799-db1e-4919-afd2-76a7ab0b3c95", + "72e8ea31-68c3-4879-a51e-3d91e24d68e4", + "5124bb1f-634f-4056-aaaa-50a0b8537fc3", + "a108f577-8a18-4b49-8b41-2de20edec81b", + "e164f5eb-ed46-45c6-9678-7518f86c0319", + "828328b7-7cff-4a90-825c-139608e38798", + "fb72cb2d-37ea-4db0-bced-66b891c70c45", + "047ed81b-9c32-4eff-92a7-8497e550c2a2", + "5580218e-e946-491b-86da-30a7af38f893", + 9576, + 6379, + 4606, + 5504, + 4195, + 7353, + 4919, + 7634, + 3112, + 7469, + 930, + "$17,933.33", + true, + true, + 706173388 + ], + [ + "feccd29c-06bb-4f56-859e-84be61d98382", + "bcb44492-7e16-498f-8754-48cd7a315e97", + "b3718ba4-0c96-4ca2-880d-073d6d6f25c3", + "90a39850-b62e-4886-abb4-62a6740b9768", + "9c887f6e-1a98-45dc-a3c1-8402f82ed923", + "093753b1-dc0e-45ed-ba15-567116fe05c6", + "50ca47ef-509b-492d-8864-7dd3d3723d7c", + "3b920d7e-fd4f-41e2-9850-f90615296bf6", + "b9e07795-4cea-43f2-a724-1bf3a9234fb3", + "2aeade40-cf15-4018-80ea-84d1a5c9cd3a", + "477719eb-acd9-4381-b449-a061d47d5594", + "e36d4446-8e0c-439c-ac39-7d6476b8b4a5", + 53, + 2403, + 96, + 15, + 2502, + 1622, + 1875, + 7128, + 2966, + 8857, + 8408, + "$248.27", + true, + false, + 225854484 + ], + [ + "dcf1dcfe-4a4c-4850-923b-0b5f372d55f7", + "0bf4440d-315d-4903-85b3-7dca3bbd4bc7", + "df5d1a29-616f-46ce-a2b9-270c49fbc9f6", + "d3adb54f-8336-4d30-b825-698d38e4768d", + "b877e55a-fc6f-4d94-bb70-45a058734ef9", + "f6c328d1-1bb6-4623-a565-a2a7e7af3c99", + "29f04da6-c473-4c90-8cec-9ac1b50ffdda", + "d793728d-d3b4-4443-a285-ad07bbe050a0", + "1c3d4159-38c4-4472-9a21-28a3516b8a22", + "5ca03aad-bcc5-4cb2-88f6-42a35f3bd532", + "687e8c89-83ad-402b-a01a-669321041818", + "a659d801-f214-4dfc-b368-bffaf4b2e439", + 9793, + 1923, + 3471, + 4703, + 7153, + 7782, + 8582, + 9129, + 598, + 6193, + 5412, + "$9,107.03", + false, + false, + 759820497 + ], + [ + "7f9c8b2a-7d91-40d1-ac92-191a92938e80", + "27ed79f3-f88f-4615-872d-57d908924a7b", + "8276d733-30f3-497d-9913-e114856f28eb", + "e028b314-566a-45fc-a32e-9360f99c10ef", + "8a3ea755-ca4e-4cf5-8310-75d2d5382ae4", + "f6aaf7ec-c17d-439c-8bfc-669ee437b28a", + "afa18f06-62e1-438a-ab69-530d44ac9ef4", + "7fc31d9c-7311-4dfa-8e01-98922abfa277", + "4be96a09-0796-434f-a6d6-b0ef134290e6", + "74570ced-226f-4e42-98a2-9a19c9e601da", + "babeb10a-edbd-4072-ad3d-84bf09ed8b2b", + "683c1942-8003-457b-8bbb-32aca4c2a99d", + 5755, + 4417, + 6624, + 8979, + 2002, + 598, + 2974, + 6338, + 6098, + 2092, + 5966, + "$4,638.92", + true, + false, + 354270409 + ], + [ + "190cf550-e533-4c95-b89f-043607fd6076", + "ff587785-2c32-46d2-9b06-73e73a552241", + "f45de993-0de7-4388-99a9-cc88762d7dbd", + "8cc42977-656f-41be-a760-b1632e066d22", + "175f9ad8-eb58-4d45-95f3-8b4c831fa139", + "dc85d61d-5894-4fe9-87f5-03a926ace636", + "8b12dc97-4abf-47f8-9e86-4103851e1a9d", + "6984222a-541c-4893-ac78-d088583092c9", + "cee108e3-3ab4-42e0-8e10-cfe0db13ea55", + "7824857e-5804-4350-b854-97da1c91a998", + "05dc597c-49de-4b7a-a42b-e45a9a9a6234", + "28a9c889-2a85-4bd9-867c-c0d2929739cf", + 3615, + 965, + 1845, + 4062, + 6228, + 1618, + 8008, + 2946, + 9105, + 9064, + 2872, + "$9.62", + true, + true, + 1405922242 + ], + [ + "cef059ff-aa44-48f5-a270-c27acd2ed7ff", + "3bedd1e0-28d6-4a6d-80fe-953ba0f0b3b6", + "fb228415-401f-4781-9520-d0f38c94dc43", + "9dc77b7e-8790-4c2f-bd9d-e2cc3cd1af6b", + "e66c0d26-bbe6-45c0-8964-00b61f29a9bd", + "6f20b77b-bdb8-47cd-9360-620febe8cab9", + "a34079a9-950e-4921-9e63-5d72b15f8eb6", + "e7a88eed-a3c6-4e83-b09f-aca071622ead", + "b2788b7d-a5f9-4e4a-8b48-a08e3d25eb44", + "e13f1c80-78d5-4cd5-879c-e25803c16c3d", + "70cc4e29-a6fa-41ce-8c8e-7b7a5f0d7aba", + "93238fd9-7a34-4a1b-979e-3c848bb42db9", + 3081, + 6774, + 8465, + 8248, + 9578, + 6610, + 6813, + 9193, + 4265, + 7845, + 4369, + "$19,789.64", + true, + false, + 1279741940 + ], + [ + "1a8ddb8d-dfae-47d3-a7ea-f29d7babdc44", + "4f5d7766-e028-4caf-9653-88b3516562d7", + "351dfbe7-ba0a-4ff2-9314-dd372fd66862", + "3fead9d8-e173-485d-8a94-3409167446fd", + "d09ece7c-55b4-4085-8791-2b8f1567c96b", + "763e9b74-905b-4a1d-8908-46921fbc166b", + "08326fb7-2117-46a6-b3fc-8e240c38e7a4", + "ac415cc6-e7c9-4b5f-a233-2f77ea4ccf6b", + "cf443e9c-46af-4fb8-bfcf-3a2176a01c4d", + "d7fa1709-9ddf-4ef8-9e3b-b58c79534d75", + "fd08f843-1b5c-43fa-8e7a-8e7e0f52e18e", + "ec11261a-63e9-43db-a209-91f5e334e363", + 2162, + 6629, + 763, + 8368, + 7280, + 4738, + 8747, + 7700, + 360, + 1975, + 4341, + "$5.70", + true, + false, + 1484456950 + ], + [ + "d4997394-4ce8-4697-b8d8-d7cea83cd573", + "a67589c2-0d93-46eb-a6d2-5f902ad5ab5b", + "1745f619-8fd8-41d5-9f3a-3e19f0995b07", + "7442e47e-a09e-4592-9d5b-8e6b50f58545", + "b10e4e61-a1b3-42df-addb-d6016e6d4245", + "db14128b-a92c-438c-8bc6-f756ca858269", + "ba5fca9a-1cde-454b-9b74-a71b7282e726", + "21ae6c21-71d6-4b1c-a8af-927f3a09a958", + "7ab27342-22b6-4594-940b-3e930faa289f", + "20d7fea8-7545-4828-b092-556ca27db25d", + "19ea6f76-d85c-4bfb-8a3c-0486dc5c1249", + "4b1d67dc-cb19-4448-99a3-dfea4a306037", + 7946, + 3397, + 507, + 4479, + 8969, + 5574, + 2508, + 6357, + 7703, + 4564, + 6704, + "$653.88", + false, + true, + 611926129 + ], + [ + "be2d4a18-139b-4a0e-953f-11e65004516f", + "06323744-52cd-4dc2-9922-9300f9d903d4", + "c6c0946b-b0e8-4006-b835-344ee0c0e43a", + "86045dfa-c56c-4573-b172-026202439a1b", + "60f33f9e-7f2f-43de-9bad-cd8621caf250", + "0237d359-2c1f-4717-9e09-ba633078afb7", + "e638b2e5-e4ba-4358-83f5-50bfea2eee1f", + "a3021599-ead1-44ad-beeb-47e36ef1d55a", + "6afbd90b-5b34-4468-aa4e-f0a9dfa7036c", + "9b445fbc-dc0c-4262-89ac-f2ebefb99241", + "9bd68d7b-fe67-4617-a3e0-57d56381d19a", + "c307339b-5565-49b0-b91d-379511bbef15", + 80, + 1465, + 7455, + 7179, + 5917, + 5596, + 1758, + 874, + 8914, + 8467, + 3515, + "$12.34", + true, + false, + 417550180 + ], + [ + "4c912e91-9702-4418-bd46-30b62ca8b34b", + "4aa1b748-d16a-4e7f-b167-fe50a0de34b4", + "5fa0eee2-2159-4e09-8097-fc348434f664", + "9b7dfc6d-afba-4b26-b804-c34cf0f6bd85", + "1889dc80-fa73-4aa4-93f0-93bbb54cb834", + "adfc6003-08b9-4bee-85a4-a6f4257c19bf", + "a720ddd1-d44a-4ecc-8809-d87d37178bb8", + "29f9a09a-16ee-4d93-a256-702ee25f694d", + "3f474536-947d-4c8a-a025-22f43afd1f2b", + "65c1b6e2-5c6f-43d7-8f0f-b52fd31024f8", + "a94a458b-c3d9-43b4-bc90-bcabad660bbc", + "0aaa5cb4-6cc2-4197-9dee-3e0229eb1f62", + 4760, + 9156, + 9724, + 3525, + 4641, + 4016, + 5437, + 7694, + 5340, + 9707, + 1189, + "$2.98", + false, + true, + 130821085 + ], + [ + "f9a8ef09-514b-4557-b222-37f5050c370d", + "a7ce9cf0-0494-4b67-8f0a-138eff6b0f30", + "ed442407-7fad-4e56-b752-d3a4f548ad38", + "4db8ca57-c5d4-4c08-9893-2321f85d63e7", + "505fe9e8-4fde-4076-b6f7-8714772e583e", + "f6307094-bb26-47a3-aa72-fdf253a31323", + "52bfc6e3-b999-4618-bdf8-9e597aec209c", + "6f2c23f4-8dfd-4365-9658-1a096abed877", + "5177fc38-569a-4429-b942-1673710487ea", + "7a96db3b-245b-498a-a3fe-ca3cb7e64908", + "4f6ea456-d471-47b3-aea8-3ef6a11da7d9", + "44eb2333-e82d-477c-8610-f57f89c16ed6", + 8434, + 4812, + 7776, + 7184, + 7693, + 5868, + 8921, + 1144, + 6610, + 2208, + 3250, + "$1.34", + true, + false, + 558805574 + ], + [ + "cdfae1cc-9f9c-4cac-b980-1548d737a2d0", + "1e45451d-baf0-446f-91ff-42932ac290b7", + "1647ad42-17a0-4f95-b2e1-4eecd3681d3b", + "cb30cda3-53cf-428a-a378-2825c7abbc9d", + "be359128-99cd-40b4-bfda-b69dfa821de9", + "abab83c5-282a-4a6c-9c08-864650081dba", + "4df7831d-3427-4297-b2f8-987decfa0171", + "0cc4fb11-404d-4661-ab02-607d8590b208", + "b06ae82d-b994-402c-8d49-0b0383c155cd", + "d0a45dd7-8a2c-46be-8ca2-fff7d6f521e8", + "58bd43f8-5fa4-4b60-b33d-a4a08711ebb6", + "b431cc5d-8f4e-45dc-a516-9aa5ca76ac5a", + 3749, + 4554, + 4351, + 3382, + 3507, + 4631, + 3874, + 6534, + 585, + 5250, + 9782, + "$6,347.29", + true, + false, + 1034997604 + ], + [ + "d6913682-6124-4ff4-b4f3-a094cf3ff227", + "2f491c52-fb5f-4580-b684-cfdd28e89036", + "981be254-8614-41c6-8884-b1e15284a163", + "7d422892-1689-4dc1-80dd-811c7448a586", + "fea3620f-dc75-4aac-aa86-b1d7860d00af", + "f778928e-c97a-4316-8968-9eca31423900", + "993ea4b0-e956-45b6-81ed-33ac6409b4dc", + "1cae5c0e-8d19-4248-812a-0f6a86995909", + "2e1664fd-5c44-47e8-9489-35fcc3129221", + "c3dd6dc5-9f57-4915-8ffb-77e83861a15b", + "173f6803-d941-4607-b086-4324c5e477aa", + "2119cbe9-b80e-4759-9091-3ed9b266d13a", + 4048, + 8142, + 6415, + 260, + 3780, + 4186, + 2786, + 5926, + 6969, + 9495, + 3131, + "$76.40", + false, + true, + 510663665 + ], + [ + "7657d7a0-a4df-4440-8c57-2c701d0b4dfe", + "1114c42c-ba4f-4c4c-831c-006b7afb2e26", + "07d3c764-2617-4b02-9f11-75eb126b66a4", + "e73b3096-3d82-4eaf-a6ba-dfc1f2c5ef7b", + "172565cf-1551-4fbe-b32c-7eed53a7abaa", + "ba6c6efb-efb6-47cf-8699-d52213f3d746", + "03a04511-3aac-4b74-a05e-95777058c241", + "081d8cd9-4f9c-4622-a64a-0ea33da5669d", + "a761c499-7d9c-400f-ba21-61234d852316", + "68a3b51f-970c-4315-b242-66b0a3e0ec59", + "cb827a0d-f425-4da7-ab98-02472b7df8b3", + "1b7ce2dc-d437-4a6e-862d-26cd2c92a22e", + 8137, + 4995, + 304, + 877, + 9552, + 7893, + 279, + 4158, + 1086, + 3416, + 268, + "$107.00", + false, + true, + 135203773 + ], + [ + "5d875256-93d4-43df-bd15-3a6913cfcc04", + "b0734cd5-1794-4371-bc75-8c989ad48e83", + "fe9ab442-7e36-45f6-85ee-e0ff3efb20f2", + "85fa33c5-1585-42a3-ae05-3f7a352eca0d", + "b9622995-3991-4299-9027-54762388ee08", + "d78f31ee-6195-43e2-bbb0-7fc73d7d12e3", + "55f35721-f1c7-4cd1-a5fe-e96b1a8256ac", + "15624cd3-33a3-4b04-8861-3a821523be99", + "8fe88da9-0be8-4553-8aa4-dbbdc851c6e9", + "183c7037-da0a-4ace-88c1-9ecb6eec881d", + "ef4708ae-1e78-4651-a408-990fa88a70f7", + "bdb56174-ae0d-4e2b-a632-7c3d18c81108", + 2694, + 5187, + 2277, + 7331, + 8530, + 2936, + 6174, + 1350, + 7599, + 2506, + 4484, + "$1,068.22", + true, + true, + 229926219 + ], + [ + "20a5b254-9f34-4695-a8df-b04f2ed42b9d", + "8fc2e0b2-2d8c-417c-b289-81166d12a9a3", + "9d087d3d-0c32-490c-93e2-e624383c0b2d", + "00b2d4fa-2022-42eb-bbe3-ffcdc0bda56a", + "cd213331-8db5-4953-a5a7-7a3693dffade", + "ac7db6a8-8263-4494-ade7-ea3b0363d922", + "f514ad6b-10f9-4df1-8d75-fbb374d3f7a4", + "c2f3486a-d1b4-48db-baee-4c1c3e58927b", + "1c6efa9e-1b90-4824-abd3-059b2a284275", + "32f4d71b-0133-4cd2-9bd2-ff4da892c23f", + "35580051-97ff-4b8c-986e-fa3efd8a785a", + "5adc3239-009b-4462-896b-64a2743cb3ba", + 374, + 6629, + 8161, + 3050, + 2770, + 9415, + 7047, + 896, + 6393, + 5347, + 2276, + "$19.36", + false, + true, + 773918988 + ], + [ + "f9c34459-6c4e-493d-bda9-2ae0a7cec5be", + "ca05c34f-a65d-4545-a1a0-5800b4a1d483", + "120e4337-23c4-4110-a34b-b6b2563b80a1", + "cf3d6790-6196-4eff-a48a-4cccd105fd3c", + "642c37d8-0e75-4f4d-86e5-655cd8dc25ec", + "9dc2c41d-3024-41c7-b4eb-0e7a7497429d", + "d6d216df-106c-424f-a51c-a8ea9ba69345", + "1c45b6cf-e486-43e1-9921-ea7d00e7ac8c", + "970a09cf-3ac6-4b03-8f50-0621e9f49228", + "5dd2ed14-7a22-46ca-890d-29a6e54a198f", + "fe44a533-35d5-4697-a678-7adfe2483970", + "456e1ab5-0354-4198-af36-9f8cb70f7500", + 6498, + 8521, + 997, + 728, + 1186, + 430, + 7075, + 5445, + 6832, + 737, + 9907, + "$1.91", + false, + true, + 110750253 + ], + [ + "d03f6891-2c76-4ee2-92a0-748ad4479ec4", + "442bf2fb-099f-4699-9783-f25f0ec2ee29", + "21eb50e3-a6c9-4ddf-a726-f36c7159cf42", + "d7a09657-6cb7-4ca1-b7f2-3e72a0495084", + "64330ef1-fd07-4966-9d62-3d2763fc6bff", + "70e30d90-9954-4744-977b-d93be86b2f21", + "e63e93f7-6050-42bf-827a-4f4c5a69b9e6", + "216395f2-7ced-4b71-b31a-17d44b3c9941", + "9a408c2a-857a-4534-b762-6fcc5a833a17", + "67ca8284-e84b-4394-a0e6-c66c0ddefb38", + "8cb4b8fa-f277-4675-ac68-f76bcb315867", + "b7e96d09-707a-4fa6-aab8-3efe537c0b6c", + 5350, + 9366, + 7404, + 9888, + 9408, + 516, + 9969, + 8033, + 4996, + 3959, + 9154, + "$651.09", + false, + true, + 972517888 + ], + [ + "5649f543-5e3e-4b5b-bbe8-3de1a7251094", + "fa70970c-ad55-42f2-8c0a-26bb586f8af8", + "75762be6-7e4f-4d0f-8ae2-4f7e4716ef24", + "5017e3f2-ac4d-428c-9e9d-937ea4d012c9", + "918e8561-3f8d-4dae-8392-319920382f6e", + "5ae0642d-6e1e-43bc-a390-82b7f99ee4bc", + "30b79bdd-8f4b-413b-b9be-2dd967833f67", + "186fbc2e-c05c-496d-a69b-05ec9c6db7fc", + "8e27e248-a8c3-4d0c-a6b5-afecd1e2bea9", + "84f203d4-20a5-4877-849e-cceeca47541f", + "222dc9d2-2e73-4648-88a3-4d4ec73bd403", + "ff066b43-4e7e-40f1-8ddd-d92a31e4210f", + 4190, + 5046, + 3566, + 4570, + 8497, + 8290, + 4061, + 1920, + 1392, + 4981, + 4022, + "$5,875.36", + true, + false, + 1378835189 + ], + [ + "8a7b973f-d55e-49dc-b3c6-49ea66f78759", + "51aacd4a-f8d7-4ebf-9dfb-dd23b9e086b6", + "e33dd4fe-8b08-44bc-bcdf-fd87d8cc07cb", + "26ae85bc-8414-409f-bcf0-ab49875322e0", + "03a2ce4b-df98-450d-bc17-e22c8f95e77b", + "bbc6bb94-8950-409d-adfc-15332cac2591", + "83ccf13a-7d20-49ed-9c23-875f919b52f3", + "3a53acbc-c406-447f-a4b2-14f4c8a09205", + "ff01475b-036f-470a-b7be-9ef983e687d5", + "261c91ed-91dd-40ec-94ae-dcb9451e05f8", + "27232d44-1337-4669-9ce0-83626971a9a8", + "19259db8-f028-4c00-94d9-8757ce6ecf4a", + 53, + 3481, + 4528, + 393, + 1658, + 8984, + 9587, + 7324, + 949, + 94, + 4930, + "$6,732.35", + false, + true, + 1599280901 + ], + [ + "3f87cebe-e024-4f04-88d9-2e13c6236804", + "0ccefde0-f6ce-4c9a-a11c-fe8bb9f8dfc9", + "146d0337-40c0-429c-bfb0-75459f478103", + "de220509-51dc-4802-9e54-88cffb0ff9d1", + "c398580a-59c5-437d-a72c-3365ce8b6881", + "0885b3db-9d88-4c5f-80c2-642bf07b4e86", + "66420de9-b844-4d92-9184-458c23c1982e", + "0c79227f-7ace-479b-b3af-f2cb1db08971", + "4e029162-c1b0-46ec-85d4-161ea65c9fb7", + "02d88a10-8901-402b-8306-59733a1f8ef9", + "e307e442-81db-46b5-95fe-7227cf682a72", + "4173eaa7-0043-494c-abda-e3bbf89540f7", + 5124, + 8505, + 986, + 8853, + 4178, + 4154, + 5041, + 2016, + 8894, + 3504, + 8665, + "$676.19", + false, + true, + 1514149399 + ] + ] + } + }, + { + "id": "2b2f4627-151f-4094-b9cf-83c7749eb87a", + "name": "fact_session", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session", + "description": "This fact table contains information about the visitors to your online store. This table has one row per session, where one session can contain many page views. If you use Urchin Traffic Module (UTM) parameters in marketing campaigns, then you can use this table to track how many customers they direct to your store.", + "version": 0.1, + "updatedAt": 1638181702325, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/2b2f4627-151f-4094-b9cf-83c7749eb87a", + "tableType": "Regular", + "columns": [ + { + "name": "derived_session_token", + "dataType": "VARCHAR", + "dataLength": 200, + "dataTypeDisplay": "varchar", + "description": "The ID of the visitor session. This column is the primary key for the table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.derived_session_token", + "tags": [], + "constraint": "PRIMARY_KEY", + "ordinalPosition": 1 + }, + { + "name": "shop_id", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.shop_id", + "tags": [], + "ordinalPosition": 2 + }, + { + "name": "session_duration", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The time that the visitor spent in your store during the session. This value is the sum of the time spent on each page view (except for the last page viewed) during the session. The maximum value is 1800 seconds (30 minutes).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.session_duration", + "tags": [], + "ordinalPosition": 3 + }, + { + "name": "count_of_pageviews", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The number of pages viewed during the session.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.count_of_pageviews", + "tags": [], + "ordinalPosition": 4 + }, + { + "name": "session_started_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when this visitor session begins. It is the timestamp when the visitor first visits the store during this session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.session_started_at", + "tags": [], + "ordinalPosition": 5 + }, + { + "name": "session_token", + "dataType": "VARCHAR", + "dataLength": 200, + "dataTypeDisplay": "varchar", + "description": "The ID of the session token that is created by the browser. A session token expires after 30 minutes of inactivity.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.session_token", + "tags": [], + "ordinalPosition": 6 + }, + { + "name": "user_token", + "dataType": "VARCHAR", + "dataLength": 20, + "dataTypeDisplay": "varchar", + "description": "The unique token assigned to the user. A user token expires after 2 years of inactivity.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.user_token", + "tags": [], + "constraint": "UNIQUE", + "ordinalPosition": 7 + }, + { + "name": "landing_page_url", + "dataType": "VARCHAR", + "dataLength": 1000, + "dataTypeDisplay": "varchar", + "description": "The full URL of the first page visited during the session. For example, https://www.myshop.com/products/cool-tshirt?utm_source=Shop&utm_medium=....", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.landing_page_url", + "tags": [], + "ordinalPosition": 8 + }, + { + "name": "exit_page_path", + "dataType": "VARCHAR", + "dataLength": 1000, + "dataTypeDisplay": "varchar", + "description": "The path portion of the URL of the last page that the visitor visited during the session. This field is the same as exit_page_url except that it doesn’t contain the name of the store or any parameters. For example, /products/cool-tshirt.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.exit_page_path", + "tags": [], + "ordinalPosition": 9 + }, + { + "name": "exit_page_url", + "dataType": "VARCHAR", + "dataLength": 1000, + "dataTypeDisplay": "varchar", + "description": "The full URL of the last page that the visitor visited during the session. For example, https://www.myshop.com/products/cool-tshirt?utm_source=Shop&utm_medium=....", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.exit_page_url", + "tags": [], + "ordinalPosition": 10 + }, + { + "name": "referrer_tld", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The top-level domain of the referring website. For example, if the hostname is www.facebook.com, then the referrer_tld is com.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.referrer_tld", + "tags": [], + "ordinalPosition": 11 + }, + { + "name": "ua_browser", + "dataType": "VARCHAR", + "dataLength": 200, + "dataTypeDisplay": "varchar", + "description": "The name of the browser that the visitor used. For example, Mobile Safari, Chrome.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.ua_browser", + "tags": [], + "ordinalPosition": 12 + }, + { + "name": "ua_raw", + "dataType": "VARCHAR", + "dataLength": 2000, + "dataTypeDisplay": "varchar", + "description": "The string that identifies the user agent of the user. User agent shows data about the operating system and device that a visitor uses to browse your store.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.ua_raw", + "tags": [], + "ordinalPosition": 13 + }, + { + "name": "count_of_orders_completed", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The number of orders created during the session.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.count_of_orders_completed", + "tags": [], + "ordinalPosition": 14 + }, + { + "name": "completed_first_order_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the visitor completes their first order during this session. Contains NULL if the visitor never completes an order during this session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.completed_first_order_at", + "tags": [], + "ordinalPosition": 15 + }, + { + "name": "hit_first_checkout_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the visitor first visits the checkout page during this session. Contains NULL if the visitor never visits the checkout page during the session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.hit_first_checkout_at", + "tags": [], + "ordinalPosition": 16 + }, + { + "name": "started_first_checkout_at", + "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", + "description": "The date (ISO 8601) and time (UTC) when the visitor first starts entering their information into the checkout fields. Contains NULL if the visitor never enters their information during the session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.started_first_checkout_at", + "tags": [], + "ordinalPosition": 17 + }, + { + "name": "count_of_cart_additions", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The number of items added to the cart during the session. For example, if a customer adds 5 t-shirts and 1 lipstick to their cart, and then removes one of the t-shirts, then the value in this column is 6.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.count_of_cart_additions", + "tags": [], + "ordinalPosition": 18 + }, + { + "name": "count_of_distinct_products_added_to_cart", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The number of distinct products added to the cart during the session. For example, if a customer adds 5 t-shirts and 1 lipstick are added to the cart, then the value in this column is 2.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.count_of_distinct_products_added_to_cart", + "tags": [], + "ordinalPosition": 19 + }, + { + "name": "count_of_distinct_product_variants_added_to_cart", + "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", + "description": "The number of distinct product variants added to the cart during the session. For example, if a customer adds 2 small and 3 large t-shirts and 1 lipstick to the cart, then the value in this column is 3.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.count_of_distinct_product_variants_added_to_cart", + "tags": [], + "ordinalPosition": 20 + }, + { + "name": "had_error", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when an an error appears during the checkout that is not a payment error, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.had_error", + "tags": [], + "ordinalPosition": 21 + }, + { + "name": "had_payment_error", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when a payment error occurs during the checkout, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.had_payment_error", + "tags": [], + "ordinalPosition": 22 + }, + { + "name": "had_out_of_stock_warning", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when an out-of-stock warning appears on the checkout page, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.had_out_of_stock_warning", + "tags": [], + "ordinalPosition": 23 + }, + { + "name": "had_credit_card_info_error", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when a payment error occurs because of a credit card error, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.had_credit_card_info_error", + "tags": [], + "ordinalPosition": 24 + }, + { + "name": "had_discount", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when a checkout error occurs because of a discount error, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.had_discount", + "tags": [], + "ordinalPosition": 25 + }, + { + "name": "had_free_shipping", + "dataType": "BOOLEAN", + "dataTypeDisplay": "boolean", + "description": "True when the order has no shipping cost, False otherwise.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.had_free_shipping", + "tags": [], + "ordinalPosition": 26 + }, + { + "name": "location_city", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The name of the city where the visitor is located. For example, Topeka.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.location_city", + "tags": [], + "ordinalPosition": 27 + }, + { + "name": "location_region", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The name of the region, such as a province or state, where the visitor is located. For example, Kansas.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.location_region", + "tags": [], + "ordinalPosition": 28 + }, + { + "name": "location_region_code", + "dataType": "VARCHAR", + "dataLength": 200, + "dataTypeDisplay": "varchar", + "description": "The code for the region, such as a province or state, where the visitor is located. For example, KS.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.location_region_code", + "tags": [], + "ordinalPosition": 29 + }, + { + "name": "location_country", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The name of the country where the visitor is located. For example, United States.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.location_country", + "tags": [], + "ordinalPosition": 30 + }, + { + "name": "location_country_code", + "dataType": "VARCHAR", + "dataLength": 100, + "dataTypeDisplay": "varchar", + "description": "The two-digit ISO country code where the visitor is located. For example, US.", + "fullyQualifiedName": "bigquery_gcp.shopify.fact_session.location_country_code", + "tags": [], + "ordinalPosition": 31 + } + ], + "database": { + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" + }, + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 0, + "percentileRank": 0 + }, + "weeklyStats": { + "count": 0, + "percentileRank": 0 + }, + "monthlyStats": { + "count": 0, + "percentileRank": 0 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [] + }, + "sampleData": { + "columns": [ + "derived_session_token", + "shop_id", + "session_duration", + "count_of_pageviews", + "session_started_at", + "session_token", + "user_token", + "landing_page_url", + "exit_page_path", + "exit_page_url", + "referrer_tld", + "ua_browser", + "ua_raw", + "count_of_orders_completed", + "completed_first_order_at", + "hit_first_checkout_at", + "started_first_checkout_at", + "count_of_cart_additions", + "count_of_distinct_products_added_to_cart", + "count_of_distinct_product_variants_added_to_cart", + "had_error", + "had_payment_error", + "had_out_of_stock_warning", + "had_credit_card_info_error", + "had_discount", + "had_free_shipping", + "location_city", + "location_region", + "location_region_code", + "location_country", + "location_country_code" + ], + "rows": [ + [ + "Option tonight why.", + "49117660-5035-4523-8d29-b5f71846ad75", + 5214, + 8307, + 1010056350, + "Yeah cost tree huge.", + "Chair against media.", + "Spend arm manage.", + "Thank art rule.", + "Wish gun final.", + "Just successful.", + "Agent require then.", + "Place unit Mr any.", + 1855, + 1100899308, + 104499897, + 617805313, + 3234, + 449, + 2235, + true, + false, + true, + true, + false, + false, + "Timothymouth", + "0169 Michelle Tunnel Apt. 213", + "233 Adam Trail Suite 292", + "Australia", + "Czech Republic" + ], + [ + "Glass author.", + "eb354804-cdc3-40df-a0f1-05015f9fb523", + 5679, + 1488, + 947198517, + "Involve source.", + "Four bag wait.", + "Pay office beyond.", + "Prepare step help.", + "Mouth threat.", + "Kitchen up federal.", + "Increase degree.", + "Bed stay follow.", + 8897, + 245960239, + 420596137, + 1457620569, + 7929, + 2321, + 1568, + false, + false, + false, + false, + false, + false, + "Davidborough", + "445 Williamson Lodge Suite 221", + "898 James Lane", + "Aruba", + "Timor-Leste" + ], + [ + "Really much news.", + "36aeeb89-22dc-4372-8b09-ce3acd73342c", + 2060, + 7199, + 1501495071, + "Any technology TV.", + "Probably affect.", + "Idea fact week.", + "Pull small if.", + "Reality short until.", + "Kid for newspaper.", + "Fill much computer.", + "I surface.", + 4591, + 748028978, + 1024054556, + 1609642794, + 561, + 8878, + 5096, + true, + false, + false, + true, + true, + false, + "South Stefaniemouth", + "41744 Quinn Loop", + "486 Zachary Springs", + "Seychelles", + "San Marino" + ], + [ + "Itself personal.", + "21dcbdbf-9335-4e9d-82e3-7014136593aa", + 8988, + 1018, + 1046497584, + "Degree president.", + "Marriage person.", + "Low site fish young.", + "Interest speak set.", + "Remember how.", + "Detail piece world.", + "Gas fish training.", + "Time north industry.", + 216, + 146844513, + 1320836329, + 695756140, + 1243, + 7111, + 3234, + true, + true, + true, + false, + true, + false, + "South Michaelborough", + "852 Carmen Squares", + "078 Craig Camp", + "Germany", + "Denmark" + ], + [ + "Type commercial.", + "fd45c43f-ced3-48b3-90a2-5bf7adeea603", + 5294, + 6353, + 544574167, + "Language none many.", + "Focus amount.", + "Remember gun admit.", + "Likely concern per.", + "Off near measure.", + "Similar face us.", + "Serve everything.", + "They break behind.", + 3875, + 178754217, + 572862845, + 25132100, + 1148, + 5179, + 252, + true, + false, + false, + true, + false, + false, + "Tonyville", + "5462 English Curve Suite 283", + "12744 Roberto Landing", + "Bhutan", + "Israel" + ], + [ + "Under sound ten.", + "702be416-6aa5-474f-b314-16401100670b", + 2669, + 7058, + 616944676, + "Reason brother Mrs.", + "Exist large deep.", + "Leader decade plant.", + "Certain plant young.", + "Join line.", + "Meeting may detail.", + "Return loss however.", + "Eat enough.", + 127, + 660132661, + 1622290045, + 317731324, + 5870, + 7360, + 1457, + false, + false, + true, + true, + false, + true, + "South Alyssatown", + "07037 Jessica Hollow Apt. 963", + "533 Savannah Wall Apt. 915", + "Honduras", + "Belarus" + ], + [ + "Five pick service.", + "0159ba4c-b2a3-4106-8d87-95a604bb42ea", + 97, + 1940, + 370635603, + "Sister describe.", + "Support I indeed.", + "Opportunity item.", + "Know price sound.", + "North off option.", + "Mission total line.", + "Question measure.", + "Always agent stay.", + 9898, + 12622850, + 131943856, + 1329307863, + 1789, + 695, + 8627, + false, + false, + true, + false, + true, + true, + "West Julie", + "7600 Lawrence Cape", + "88863 Rebecca Field", + "Yemen", + "South Georgia and the South Sandwich Islands" + ], + [ + "Foot difficult.", + "5a634ba3-6171-499a-b100-2b26cc817d77", + 2674, + 5870, + 20487825, + "Fact win style most.", + "Experience central.", + "Hear hit bed light.", + "Best teacher stock.", + "Congress hotel.", + "Country actually.", + "South new per.", + "Party and begin.", + 6099, + 1521440925, + 344158092, + 775010335, + 5377, + 7014, + 710, + true, + true, + false, + false, + true, + true, + "Port Rebecca", + "08026 Barton Union", + "43747 Rodriguez Street Suite 244", + "Barbados", + "Saint Helena" + ], + [ + "Same there might.", + "1c485ce8-e55c-4c85-97bf-0ed3049a21ef", + 2266, + 4047, + 835429903, + "Well buy whose rise.", + "Later option unit.", + "Particular official.", + "Exactly Congress.", + "Large ready if down.", + "Country specific.", + "Authority official.", + "Garden serve action.", + 3819, + 694903261, + 597067832, + 554987534, + 7817, + 6241, + 4398, + true, + true, + false, + false, + false, + true, + "West Christopherstad", + "488 Michelle Islands Suite 481", + "439 Melissa River Suite 244", + "Tunisia", + "Wallis and Futuna" + ], + [ + "Piece later really.", + "794e2fe8-4ee0-4c39-b494-c5cf314fa750", + 5600, + 125, + 1051312635, + "Yard leg finish.", + "Happen gas attorney.", + "Forget thing high.", + "With while right.", + "Area should home.", + "Market really born.", + "Up condition when.", + "Professional.", + 1624, + 824011425, + 46673166, + 1450907921, + 3353, + 4150, + 2362, + false, + false, + true, + true, + false, + false, + "Lake Kelly", + "93730 Mccullough Mill Apt. 594", + "462 Kennedy Field", + "United Arab Emirates", + "Peru" + ], + [ + "Best report.", + "4378068b-7af1-4cbe-90c2-c5683f3bf50d", + 3767, + 4502, + 1088715378, + "Trade since cup be.", + "Seem special part.", + "Final market safe.", + "What its wait.", + "Him light prove.", + "Account benefit.", + "Election ago watch.", + "Country lay image.", + 8428, + 1296887456, + 1427886453, + 1422169447, + 5318, + 8827, + 8508, + true, + true, + true, + false, + false, + false, + "West Michelle", + "790 Christopher Ferry", + "3329 Adrian Stream", + "Sierra Leone", + "Monaco" + ], + [ + "Man person my man.", + "bd7e8c94-14af-4385-96b9-2a16bdbc9da8", + 5760, + 2256, + 737792880, + "Book condition.", + "Out far beautiful.", + "Either the.", + "Population live.", + "Thing can from.", + "Step agency chair.", + "Another help almost.", + "Second section note.", + 4436, + 1445981747, + 905095466, + 286638751, + 1472, + 6461, + 7397, + false, + false, + true, + true, + true, + true, + "Wandaville", + "249 Bailey Underpass Apt. 441", + "481 Davenport Station", + "Ukraine", + "Sri Lanka" + ], + [ + "Institution expect.", + "286d7d31-93e9-42cf-9a83-31d1c8815469", + 8149, + 741, + 1197239179, + "Sing could economy.", + "Interview never.", + "Last large certain.", + "Painting list deep.", + "Old trial success.", + "Decide fast.", + "Off leg ready.", + "Agree according.", + 4468, + 493959398, + 667041295, + 78423440, + 5805, + 7435, + 7702, + false, + false, + false, + false, + true, + true, + "Elizabethport", + "0711 Jack Turnpike Apt. 741", + "15040 Natalie Mountains Apt. 189", + "Uruguay", + "Saint Kitts and Nevis" + ], + [ + "Bit structure wish.", + "c97080d4-66d6-4b3d-abd2-a2f26d5247f5", + 2384, + 8678, + 93141076, + "Make cold suffer.", + "Only agreement.", + "Push account civil.", + "Former key all.", + "Eight fight share.", + "Magazine see sell.", + "Provide market.", + "For even population.", + 7414, + 786153835, + 247898257, + 1553574161, + 9750, + 9911, + 1280, + false, + true, + false, + true, + false, + true, + "Lake Joshua", + "989 Jennifer Haven", + "30521 Jessica Trail Apt. 619", + "Bhutan", + "Uganda" + ], + [ + "Home dream kitchen.", + "42816a4b-ef16-4462-81fb-4a5ef97d215d", + 5170, + 7622, + 832426952, + "Participant finally.", + "Property stop.", + "Indeed difficult.", + "With ball difficult.", + "Wrong somebody.", + "Understand live.", + "Single until.", + "Today less surface.", + 1896, + 1105363119, + 184259679, + 1192382735, + 9060, + 6465, + 3268, + false, + false, + true, + false, + true, + false, + "Evansport", + "867 Smith Run", + "85716 Novak Village", + "Bosnia and Herzegovina", + "Uzbekistan" + ], + [ + "Within commercial.", + "95554511-f23b-4d92-9449-94ed0113e165", + 3228, + 8973, + 112087618, + "Door group might.", + "Still reality.", + "Condition local.", + "Boy see training.", + "Particular six.", + "Politics everything.", + "Scene factor along.", + "Account husband.", + 3035, + 1142161691, + 1214650357, + 951945866, + 5701, + 3594, + 1083, + false, + false, + true, + false, + false, + false, + "East Candacebury", + "80798 Hall Ridges", + "937 Ibarra Springs", + "Djibouti", + "Bolivia" + ], + [ + "Church professional.", + "86db8c5b-b924-4312-8f0d-2f87c91171d4", + 4685, + 5027, + 1525614635, + "Like day condition.", + "Point specific.", + "Treatment improve.", + "Study everyone why.", + "Whom himself become.", + "That blood example.", + "Sister mean century.", + "Start memory seek.", + 5137, + 589342664, + 1402204620, + 588986623, + 5719, + 9333, + 9079, + false, + false, + true, + true, + true, + true, + "West Jennifer", + "24798 Williams Valleys", + "65683 Martinez Junctions Apt. 386", + "Togo", + "French Guiana" + ], + [ + "Young special seem.", + "d6a3e81e-5d11-44b3-b3f5-a9e574922ac8", + 5272, + 4027, + 226113228, + "War while training.", + "Official here.", + "Sometimes north.", + "Culture design.", + "Tell dark war city.", + "Catch someone.", + "Building doctor.", + "Forward money.", + 6040, + 1425951375, + 1609977006, + 675631055, + 6300, + 4049, + 3189, + false, + false, + true, + true, + false, + true, + "Alyssashire", + "93887 Perez Run", + "3204 Frazier Course Suite 193", + "South Georgia and the South Sandwich Islands", + "Sudan" + ], + [ + "Key campaign.", + "dd8db739-9513-48f0-b6d5-9def11553d08", + 562, + 8607, + 510381612, + "Off his task free.", + "Factor she stay.", + "He prepare between.", + "Other huge animal.", + "Many budget.", + "Himself statement.", + "Head practice value.", + "Own game lawyer.", + 2034, + 338729925, + 1189055220, + 698500370, + 1456, + 4396, + 5997, + false, + true, + true, + true, + true, + false, + "Noblefurt", + "548 Harris Knoll", + "838 Collier Mission Suite 226", + "Bermuda", + "Slovenia" + ], + [ + "Guess strong effort.", + "75530354-6384-4c09-950f-f01fde16265f", + 1948, + 6791, + 1109321346, + "Air various it.", + "Tend vote since.", + "Range help.", + "Manager Congress.", + "Red step Republican.", + "Bank window memory.", + "Involve from hour.", + "Trade federal.", + 2871, + 1472109071, + 1333898001, + 1080621732, + 7040, + 4938, + 4708, + true, + true, + true, + true, + true, + false, + "Port Gina", + "001 Tate Squares Apt. 353", + "0262 Williams Lodge Apt. 611", + "Australia", + "Benin" + ], + [ + "Charge certain.", + "63017268-9f1c-4ca8-a925-ecfee8e7285c", + 9356, + 4158, + 971779882, + "Computer short.", + "Bill respond.", + "Top opportunity.", + "Include care almost.", + "Experience society.", + "But behind born.", + "Increase seek.", + "Leader wear night.", + 4643, + 48933830, + 750824342, + 1358354952, + 9472, + 2136, + 268, + false, + true, + false, + true, + false, + true, + "Lake Nicoleport", + "3724 Amanda Ports Suite 306", + "0594 Hill Mission", + "Kenya", + "Venezuela" + ], + [ + "Trade produce.", + "909747a6-3412-4664-8c82-84d378111c47", + 5211, + 3127, + 1574060765, + "Cost say thousand.", + "Will experience.", + "Ago can claim arm.", + "Issue budget bank.", + "Cut plan teach.", + "Us perform expect.", + "Film represent.", + "Truth consumer.", + 5738, + 269851641, + 1634200361, + 661552188, + 5147, + 8301, + 6893, + false, + true, + true, + true, + true, + false, + "Lake Stephenfurt", + "2372 Murphy Vista", + "372 Jon Divide Suite 330", + "New Caledonia", + "Heard Island and McDonald Islands" + ], + [ + "Very huge west but.", + "774fe362-8a10-47b8-a1ce-b1e990988d5b", + 9703, + 5670, + 1137755860, + "Ok you role seven.", + "One measure.", + "Each bar nor easy.", + "Clearly than.", + "Start section here.", + "Whole produce now.", + "Race major term.", + "Economic affect.", + 5981, + 488843971, + 845761461, + 21868507, + 8720, + 4618, + 4007, + true, + true, + true, + false, + true, + false, + "New John", + "58505 Nathan Gateway", + "08476 Luke Summit", + "Grenada", + "Thailand" + ], + [ + "Include perform.", + "108ef819-0c79-4dd5-b1d0-b23a041d4af8", + 2394, + 3177, + 176332518, + "Chance start both.", + "Series hear theory.", + "Agency say stock.", + "Enjoy manager west.", + "Always send day.", + "Theory major guy.", + "Push small painting.", + "Both security.", + 1276, + 573782302, + 361304753, + 34245314, + 6884, + 5499, + 7464, + true, + true, + true, + false, + true, + false, + "Briggsfurt", + "362 Maria Plain", + "467 Jennifer Garden", + "Georgia", + "Nauru" + ], + [ + "Process item debate.", + "9e64f5fe-a777-4b50-936d-6c4975508bfa", + 491, + 2646, + 985118216, + "Growth century.", + "Land make care.", + "Hot several child.", + "Plan site surface.", + "Possible.", + "Shoulder newspaper.", + "Hope west ask.", + "Sport speak fast.", + 7562, + 331633843, + 742152396, + 846422260, + 4179, + 3384, + 6664, + false, + true, + false, + false, + false, + true, + "East Pamela", + "8352 Amber Wells", + "530 Aguirre Place", + "French Polynesia", + "Senegal" + ] + ] + } + }, + { + "id": "0c1458f1-a143-4190-af50-138908b578e6", + "name": "raw_customer", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer", "description": "This is a raw customers table as represented in our online DB. This contains personal, shipping and billing addresses and details of the customer store and customer profile. This table is used to build our dimensional and fact tables", + "version": 0.1, + "updatedAt": 1638181701163, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/0c1458f1-a143-4190-af50-138908b578e6", + "tableType": "Regular", "columns": [ { "name": "comments", "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.comments", + "tags": [], "constraint": "NULL", "ordinalPosition": 1 }, @@ -19,15 +7973,18 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.creditcard", + "tags": [], "constraint": "NULL", "ordinalPosition": 2 }, - { "name": "membership", "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.membership", + "tags": [], "constraint": "NULL", "ordinalPosition": 4 }, @@ -37,6 +7994,8 @@ "arrayDataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.orders", + "tags": [], "constraint": "NULL", "ordinalPosition": 5 }, @@ -45,6 +8004,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.platform", + "tags": [], "constraint": "NULL", "ordinalPosition": 6 }, @@ -53,6 +8014,8 @@ "dataType": "MAP", "dataLength": 1, "dataTypeDisplay": "map<character varying(32),boolean>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.preference", + "tags": [], "constraint": "NULL", "ordinalPosition": 7 }, @@ -62,6 +8025,8 @@ "arrayDataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.shipping_address", + "tags": [], "constraint": "NULL", "ordinalPosition": 8 }, @@ -70,6 +8035,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.shipping_date", + "tags": [], "constraint": "NULL", "ordinalPosition": 9 }, @@ -78,6 +8045,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.transaction_date", + "tags": [], "constraint": "NULL", "ordinalPosition": 10 }, @@ -86,6 +8055,8 @@ "dataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "struct", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer", + "tags": [], "constraint": "NULL", "ordinalPosition": 3, "children": [ @@ -94,6 +8065,8 @@ "dataType": "VARCHAR", "dataLength": 32, "dataTypeDisplay": "character varying(32)", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer.username", + "tags": [], "constraint": "NULL" }, { @@ -101,6 +8074,8 @@ "dataType": "VARCHAR", "dataLength": 32, "dataTypeDisplay": "character varying(32)", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer.name", + "tags": [], "constraint": "NULL" }, { @@ -108,6 +8083,8 @@ "dataType": "CHAR", "dataLength": 1, "dataTypeDisplay": "char(1)", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer.sex", + "tags": [], "constraint": "NULL" }, { @@ -115,6 +8092,8 @@ "dataType": "VARCHAR", "dataLength": 128, "dataTypeDisplay": "character varying(128)", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer.address", + "tags": [], "constraint": "NULL" }, { @@ -122,6 +8101,8 @@ "dataType": "VARCHAR", "dataLength": 64, "dataTypeDisplay": "character varying(64)", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer.mail", + "tags": [], "constraint": "NULL" }, { @@ -129,417 +8110,377 @@ "dataType": "VARCHAR", "dataLength": 16, "dataTypeDisplay": "character varying(16)", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_customer.customer.birthdate", + "tags": [], "constraint": "NULL" } ] } ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 10, - "rowCount": 718, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.98812746 - }, - { - "name": "creditcard", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 29, - "nullProportion": 0.5071059764 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 98, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 1, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 10, - "rowCount": 80, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.5101715, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.4766464652, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 53, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 51, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 10, - "rowCount": 93, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.20773827, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.52453755, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 36, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 100, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 10, - "rowCount": 160, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.29517076, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.579144201, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 77, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 13, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 3, - "nullProportion": 0.1478114 - }, - { - "name": "customer", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 11, - "nullProportion": 0.6458016712 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 10, - "rowCount": 1909, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.49029275, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.4956064142, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 69, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 86, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" }, - "tags": null, - "joins": null + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 0, + "percentileRank": 0 + }, + "weeklyStats": { + "count": 0, + "percentileRank": 0 + }, + "monthlyStats": { + "count": 0, + "percentileRank": 0 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [] + }, + "sampleData": { + "columns": [ + "comments", + "creditcard", + "membership", + "orders", + "platform", + "preference", + "shipping_address", + "shipping_date", + "transaction_date", + "customer" + ], + "rows": [ + [ + null, + null, + null, + null, + null, + null, + "8857 Lee Manor Apt. 333", + 214310789, + 684749805, + null + ], + [ + null, + null, + null, + null, + null, + null, + "9398 Ellis Brooks", + 262817089, + 1393897128, + null + ], + [ + null, + null, + null, + null, + null, + null, + "489 Ashley Pass", + 1578411948, + 4645590, + null + ], + [ + null, + null, + null, + null, + null, + null, + "760 Ford Neck", + 318270854, + 1445368462, + null + ], + [ + null, + null, + null, + null, + null, + null, + "94552 Leonard Mountains Suite 392", + 800684060, + 654303468, + null + ], + [ + null, + null, + null, + null, + null, + null, + "57347 Rhodes Cliffs", + 497551024, + 376269920, + null + ], + [ + null, + null, + null, + null, + null, + null, + "3189 Hobbs Rue", + 715528395, + 1230218231, + null + ], + [ + null, + null, + null, + null, + null, + null, + "36699 Whitney Well Suite 858", + 1565230910, + 505165189, + null + ], + [ + null, + null, + null, + null, + null, + null, + "077 Phillips Vista Suite 534", + 201881560, + 602326603, + null + ], + [ + null, + null, + null, + null, + null, + null, + "574 Denise Crossroad", + 353427943, + 736235411, + null + ], + [ + null, + null, + null, + null, + null, + null, + "6709 Flores Shores Apt. 616", + 234431599, + 1423114899, + null + ], + [ + null, + null, + null, + null, + null, + null, + "738 Montgomery Land Suite 544", + 1439317726, + 434443294, + null + ], + [ + null, + null, + null, + null, + null, + null, + "6213 Matthew Viaduct", + 325771837, + 371137464, + null + ], + [ + null, + null, + null, + null, + null, + null, + "321 Owens Garden", + 38295339, + 1434705392, + null + ], + [ + null, + null, + null, + null, + null, + null, + "087 Powell Locks Apt. 828", + 1520018199, + 740083645, + null + ], + [ + null, + null, + null, + null, + null, + null, + "316 Cynthia Spring Suite 697", + 204209354, + 239707036, + null + ], + [ + null, + null, + null, + null, + null, + null, + "3537 Turner Mall", + 305127063, + 1632696273, + null + ], + [ + null, + null, + null, + null, + null, + null, + "795 Mitchell Falls Suite 060", + 426690875, + 661467712, + null + ], + [ + null, + null, + null, + null, + null, + null, + "39629 Tonya Radial", + 853948427, + 238382087, + null + ], + [ + null, + null, + null, + null, + null, + null, + "9177 Murillo Ford", + 569812845, + 1480575661, + null + ], + [ + null, + null, + null, + null, + null, + null, + "55016 Patrick Greens Apt. 096", + 509990113, + 1056191728, + null + ], + [ + null, + null, + null, + null, + null, + null, + "0362 Williams Squares", + 1569654089, + 1423710238, + null + ], + [ + null, + null, + null, + null, + null, + null, + "485 Gomez Drive Apt. 644", + 103730865, + 960327536, + null + ], + [ + null, + null, + null, + null, + null, + null, + "0598 Sara Common Suite 163", + 1069159984, + 1396652502, + null + ], + [ + null, + null, + null, + null, + null, + null, + "07875 Karen Gardens Suite 996", + 918445926, + 1619068125, + null + ] + ] + } }, { - "id": "02e7ede6-9cd5-4190-9c36-3fae6b2cbac8", + "id": "68f4ec80-2284-4d43-a493-62c7a4f2192f", "name": "raw_order", - "tableType": "Regular", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order", "description": "This is a raw orders table as represented in our online DB. This table contains all the orders by the customers and can be used to buid our dim and fact tables", - "fullyQualifiedName": "bigquery.shopify.raw_order", + "version": 0.1, + "updatedAt": 1638181701325, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/68f4ec80-2284-4d43-a493-62c7a4f2192f", + "tableType": "Regular", "columns": [ { "name": "comments", "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.comments", + "tags": [], "constraint": "NULL", "ordinalPosition": 1 }, @@ -548,6 +8489,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.creditcard", + "tags": [], "constraint": "NULL", "ordinalPosition": 2 }, @@ -556,6 +8499,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.membership", + "tags": [], "constraint": "NULL", "ordinalPosition": 4 }, @@ -565,6 +8510,8 @@ "arrayDataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.orders", + "tags": [], "constraint": "NULL", "ordinalPosition": 5 }, @@ -573,6 +8520,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.platform", + "tags": [], "constraint": "NULL", "ordinalPosition": 6 }, @@ -581,6 +8530,8 @@ "dataType": "MAP", "dataLength": 1, "dataTypeDisplay": "map<character varying(32),boolean>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.preference", + "tags": [], "constraint": "NULL", "ordinalPosition": 7 }, @@ -590,6 +8541,8 @@ "arrayDataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.shipping_address", + "tags": [], "constraint": "NULL", "ordinalPosition": 8 }, @@ -598,6 +8551,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.shipping_date", + "tags": [], "constraint": "NULL", "ordinalPosition": 9 }, @@ -606,549 +8561,490 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.transaction_date", + "tags": [], "constraint": "NULL", "ordinalPosition": 10 }, { "name": "total_order_count", "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", "description": "The total number of orders that the customer has made from this store across their lifetime.", - "tags": null, + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.total_order_count", + "tags": [], "ordinalPosition": 11 }, { "name": "total_order_value", "dataType": "NUMERIC", + "dataTypeDisplay": "numeric", "description": "The total amount of money that the customer has spent on orders from the store across their lifetime. The value is formatted in the store's currency.", - "tags": null, + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.total_order_value", + "tags": [], "ordinalPosition": 12 }, { "name": "first_order_date", "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", "description": "The date (ISO 8601) and time (UTC) when the customer placed their first order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.first_order_date", + "tags": [], "ordinalPosition": 13 }, { "name": "last_order_date", "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", "description": "The date (ISO 8601) and time (UTC) when the customer placed their most recent order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, + "fullyQualifiedName": "bigquery_gcp.shopify.raw_order.last_order_date", + "tags": [], "ordinalPosition": 14 } ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 13, - "rowCount": 1725, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.87192882 - }, - { - "name": "creditcard", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 29, - "nullProportion": 0.2868824227 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 58, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 52, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 16, - "uniqueProportion": 0.1968912, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 13, - "rowCount": 83, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.96621272, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.2871860497, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 25, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 32, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 16, - "uniqueProportion": 0.1968912, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 13, - "rowCount": 241, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.10619033, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.629503541, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 76, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 1, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 16, - "uniqueProportion": 0.1968912, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 13, - "rowCount": 522, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.28790699, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.4753345995, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 25, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 52, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 3, - "nullProportion": 0.1478114 - }, - { - "name": "total_order_count", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 11, - "nullProportion": 0.975844831 - }, - { - "name": "total_order_value", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 16, - "uniqueProportion": 0.1968912, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 13, - "rowCount": 295, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.93902492, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "creditcard", - "uniqueCount": 29, - "uniqueProportion": 0.3763427824, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "membership", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 11, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "preference", - "uniqueCount": 93, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_date", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "transaction_date", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 16, - "uniqueProportion": 0.1968912, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" }, - "tags": null, - "joins": null + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 0, + "percentileRank": 0 + }, + "weeklyStats": { + "count": 0, + "percentileRank": 0 + }, + "monthlyStats": { + "count": 0, + "percentileRank": 0 + }, + "date": "2021-11-29" + }, + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [] + }, + "sampleData": { + "columns": [ + "comments", + "creditcard", + "membership", + "orders", + "platform", + "preference", + "shipping_address", + "shipping_date", + "transaction_date", + "total_order_count", + "total_order_value", + "first_order_date", + "last_order_date" + ], + "rows": [ + [ + null, + null, + null, + null, + null, + null, + "67933 Perry Greens", + 950319343, + 1270261578, + 8299, + 4674, + 372903422, + 731127139 + ], + [ + null, + null, + null, + null, + null, + null, + "0608 Sharon Unions Suite 476", + 1267357739, + 222368132, + 2857, + 3403, + 403435963, + 1194249670 + ], + [ + null, + null, + null, + null, + null, + null, + "06515 Shea Forge Suite 465", + 969650326, + 596080425, + 5075, + 1115, + 1070575834, + 33950608 + ], + [ + null, + null, + null, + null, + null, + null, + "639 Benjamin Burg", + 1234608332, + 941460014, + 1810, + 3298, + 497114935, + 950657729 + ], + [ + null, + null, + null, + null, + null, + null, + "4488 Oscar Way Apt. 374", + 1358267857, + 638855076, + 1986, + 9220, + 1498959772, + 1557881800 + ], + [ + null, + null, + null, + null, + null, + null, + "290 Ortiz Shoal Apt. 547", + 1425845741, + 1204295371, + 918, + 1178, + 963455874, + 39800990 + ], + [ + null, + null, + null, + null, + null, + null, + "198 White Causeway", + 724220603, + 767129633, + 5993, + 7643, + 444588995, + 632506442 + ], + [ + null, + null, + null, + null, + null, + null, + "633 Rice Ports", + 1231159125, + 213292330, + 1323, + 5478, + 38207078, + 792836659 + ], + [ + null, + null, + null, + null, + null, + null, + "82436 Johnson Springs", + 1222350571, + 509392601, + 6262, + 8686, + 1230819874, + 326397488 + ], + [ + null, + null, + null, + null, + null, + null, + "549 Jacobs Villages Apt. 085", + 1121915316, + 91351480, + 5107, + 1843, + 780024898, + 115965911 + ], + [ + null, + null, + null, + null, + null, + null, + "7395 Jack Mission", + 347009671, + 533333813, + 2603, + 7139, + 637270749, + 1579610616 + ], + [ + null, + null, + null, + null, + null, + null, + "3847 Andrea Stravenue", + 459562775, + 1295419891, + 7556, + 6346, + 755330278, + 1294773536 + ], + [ + null, + null, + null, + null, + null, + null, + "5389 Taylor Plaza", + 859566950, + 1585163567, + 9701, + 6265, + 787609205, + 109234383 + ], + [ + null, + null, + null, + null, + null, + null, + "01450 Gordon Spur Apt. 369", + 1605328775, + 472127986, + 2906, + 9495, + 117958619, + 1071069207 + ], + [ + null, + null, + null, + null, + null, + null, + "8353 Kenneth Forest Suite 740", + 1011716659, + 1214047260, + 3785, + 4505, + 837978951, + 694440104 + ], + [ + null, + null, + null, + null, + null, + null, + "9040 Adams Locks", + 1041506359, + 1039004579, + 9155, + 6923, + 1600318743, + 186793543 + ], + [ + null, + null, + null, + null, + null, + null, + "578 Jeffrey Way Apt. 312", + 1224054867, + 70481298, + 9999, + 8885, + 635335431, + 81892631 + ], + [ + null, + null, + null, + null, + null, + null, + "4138 Khan Dale Apt. 077", + 410115445, + 117992841, + 424, + 3021, + 859391599, + 183482971 + ], + [ + null, + null, + null, + null, + null, + null, + "60893 King Fords Apt. 986", + 1013201207, + 1237879598, + 3245, + 7277, + 1547601926, + 1117486851 + ], + [ + null, + null, + null, + null, + null, + null, + "154 Ward Route Apt. 681", + 810161264, + 1372714239, + 3075, + 5488, + 358276563, + 968245643 + ], + [ + null, + null, + null, + null, + null, + null, + "246 Morris Plaza", + 1315672065, + 355852059, + 8130, + 2068, + 857992757, + 165235195 + ], + [ + null, + null, + null, + null, + null, + null, + "51350 Daniel Green Apt. 092", + 760328087, + 344631261, + 3610, + 6165, + 1301287554, + 880723652 + ], + [ + null, + null, + null, + null, + null, + null, + "20905 Weber Falls", + 884804216, + 1194165172, + 3477, + 9842, + 1600347494, + 549366761 + ], + [ + null, + null, + null, + null, + null, + null, + "15609 Solis Lights", + 1416043006, + 911153189, + 1375, + 9096, + 8186973, + 370621375 + ], + [ + null, + null, + null, + null, + null, + null, + "57027 Mora Shores Apt. 982", + 786640667, + 1245112826, + 5727, + 6139, + 1564231604, + 1072413033 + ] + ] + } }, { - "id": "02e7ede6-9cd5-4190-9c36-3fae6b2cbac8", + "id": "5e027d41-e999-49f8-b1e9-98270cbbc44a", "name": "raw_product_catalog", - "tableType": "Regular", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog", "description": "This is a raw product catalog table contains the product listing, price, seller etc.. represented in our online DB. ", - "fullyQualifiedName": "bigquery.shopify.raw_product_catalog", + "version": 0.1, + "updatedAt": 1638181701433, + "updatedBy": "anonymous", + "href": "http://localhost:8585/api/v1/tables/5e027d41-e999-49f8-b1e9-98270cbbc44a", + "tableType": "Regular", "columns": [ { "name": "comments", "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog.comments", + "tags": [], "constraint": "NULL", "ordinalPosition": 1 }, @@ -1158,6 +9054,8 @@ "arrayDataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog.products", + "tags": [], "constraint": "NULL", "ordinalPosition": 2 }, @@ -1166,6 +9064,8 @@ "dataType": "STRING", "dataLength": 1, "dataTypeDisplay": "string", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog.platform", + "tags": [], "constraint": "NULL", "ordinalPosition": 3 }, @@ -1175,5433 +9075,180 @@ "arrayDataType": "STRUCT", "dataLength": 1, "dataTypeDisplay": "array>", + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog.store_address", + "tags": [], "constraint": "NULL", "ordinalPosition": 4 }, { "name": "first_order_date", "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", "description": "The date (ISO 8601) and time (UTC) when the customer placed their first order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog.first_order_date", + "tags": [], "ordinalPosition": 5 }, { "name": "last_order_date", "dataType": "TIMESTAMP", + "dataTypeDisplay": "timestamp", "description": "The date (ISO 8601) and time (UTC) when the customer placed their most recent order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, + "fullyQualifiedName": "bigquery_gcp.shopify.raw_product_catalog.last_order_date", + "tags": [], "ordinalPosition": 6 } ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 6, - "rowCount": 984, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.5201938 - }, - { - "name": "products", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 29, - "nullProportion": 0.617684783 - }, - { - "name": "platform", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 83, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 46, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 6, - "rowCount": 874, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.79231517, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "products", - "uniqueCount": 29, - "uniqueProportion": 0.4673861724, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 96, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 53, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 6, - "rowCount": 350, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.10431863, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "products", - "uniqueCount": 29, - "uniqueProportion": 0.5493815001, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 23, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 100, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 6, - "rowCount": 1447, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.37206234, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "products", - "uniqueCount": 29, - "uniqueProportion": 0.3134219726, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 97, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 45, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 6, - "rowCount": 215, - "columnProfile": [ - { - "name": "comments", - "uniqueCount": 9, - "uniqueProportion": 0.17377999, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "products", - "uniqueCount": 29, - "uniqueProportion": 0.1434539832, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "platform", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "store_address", - "uniqueCount": 78, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 48, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" + "id": "19262565-83b6-4529-9047-f2cfde2383f5", + "type": "database", + "name": "bigquery_gcp.shopify", + "description": "This **mock** database contains tables related to shopify sales and orders with related dimension tables.", + "href": "http://localhost:8585/api/v1/databases/19262565-83b6-4529-9047-f2cfde2383f5" }, - "tags": null, - "joins": null - }, - { - "id": "02e7ede6-9cd5-4190-9c36-3fae6b2cbac8", - "name": "dim_address", - "tableType": "Regular", - "description": "This dimension table contains the billing and shipping addresses of customers. You can join this table with the sales table to generate lists of the billing and shipping addresses. Customers can enter their addresses more than once, so the same address can appear in more than one row in this table. This table contains one row per customer address.", - "fullyQualifiedName": "bigquery.shopify.dim_address", - "columns": [ - { - "name": "address_id", - "dataType": "NUMERIC", - "description": "Unique identifier for the address.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 + "tags": [], + "usageSummary": { + "dailyStats": { + "count": 0, + "percentileRank": 0 }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 2 + "weeklyStats": { + "count": 0, + "percentileRank": 0 }, - { - "name": "first_name", - "dataType": "VARCHAR", - "description": "First name of the customer.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 3 + "monthlyStats": { + "count": 0, + "percentileRank": 0 }, - { - "name": "last_name", - "dataType": "VARCHAR", - "description": "Last name of the customer.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 4 - }, - { - "name": "address1", - "dataType": "VARCHAR", - "description": "The first address line. For example, 150 Elgin St.", - "dataLength": 500, - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "address2", - "dataType": "VARCHAR", - "description": "The second address line. For example, Suite 800.", - "dataLength": 500, - "tags": null, - "ordinalPosition": 6 - }, - { - "name": "company", - "dataType": "VARCHAR", - "description": "The name of the customer's business, if one exists.", - "dataLength": 100, - "tags": null, - "ordinalPosition": 7 - }, - { - "name": "city", - "dataType": "VARCHAR", - "description": "The name of the city. For example, Palo Alto.", - "dataLength": 100, - "tags": null, - "ordinalPosition": 8 - }, - { - "name": "region", - "dataType": "VARCHAR", - "description": "The name of the region, such as a province or state, where the customer is located. For example, Ontario or New York. This column is the same as CustomerAddress.province in the Admin API.", - "dataLength": 512, - "tags": null, - "ordinalPosition": 9 - }, - { - "name": "zip", - "dataType": "VARCHAR", - "description": "The ZIP or postal code. For example, 90210.", - "dataLength": 10, - "tags": null, - "ordinalPosition": 10 - }, - { - "name": "country", - "dataType": "VARCHAR", - "description": "The full name of the country. For example, Canada.", - "tags": null, - "dataLength": 50, - "ordinalPosition": 11 - }, - { - "name": "phone", - "dataType": "VARCHAR", - "description": "The phone number of the customer.", - "tags": null, - "dataLength": 15, - "ordinalPosition": 12 - } - ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 12, - "rowCount": 1168, - "columnProfile": [ - { - "name": "address_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.80217948 - }, - { - "name": "shop_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 29, - "nullProportion": 0.170325111 - }, - { - "name": "first_name", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address1", - "uniqueCount": 95, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address2", - "uniqueCount": 10, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "company", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "zip", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 12, - "rowCount": 1044, - "columnProfile": [ - { - "name": "address_id", - "uniqueCount": 9, - "uniqueProportion": 0.68665925, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 29, - "uniqueProportion": 0.1079933845, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address1", - "uniqueCount": 35, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address2", - "uniqueCount": 94, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "company", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "zip", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 12, - "rowCount": 678, - "columnProfile": [ - { - "name": "address_id", - "uniqueCount": 9, - "uniqueProportion": 0.78621859, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 29, - "uniqueProportion": 0.1729116032, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address1", - "uniqueCount": 51, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address2", - "uniqueCount": 93, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "company", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "zip", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 12, - "rowCount": 1613, - "columnProfile": [ - { - "name": "address_id", - "uniqueCount": 9, - "uniqueProportion": 0.15982599, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 29, - "uniqueProportion": 0.455669453, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address1", - "uniqueCount": 41, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address2", - "uniqueCount": 15, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "company", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 3, - "nullProportion": 0.1478114 - }, - { - "name": "zip", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 11, - "nullProportion": 0.284726178 - }, - { - "name": "country", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 12, - "rowCount": 725, - "columnProfile": [ - { - "name": "address_id", - "uniqueCount": 9, - "uniqueProportion": 0.52805369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 29, - "uniqueProportion": 0.2290940013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 13, - "uniqueProportion": 0.1327792, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 23, - "uniqueProportion": 0.177126, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address1", - "uniqueCount": 53, - "uniqueProportion": 0.0396391, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "address2", - "uniqueCount": 76, - "uniqueProportion": 0.0690369, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "company", - "uniqueCount": 23, - "uniqueProportion": 0.1210963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 6, - "uniqueProportion": 0.024072, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 3, - "uniqueProportion": 0.1478114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "zip", - "uniqueCount": 11, - "uniqueProportion": 0.1383472, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 13, - "uniqueProportion": 0.1601013, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 8, - "uniqueProportion": 0.1297079, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" + "date": "2021-11-29" }, - "tags": null, - "joins": null - }, - { - "id": "02e7ede6-9cd5-4190-9c36-3fae6b2cbac8", - "name": "dim_api_client", - "tableType": "Regular", - "description": "This dimension table contains a row for each channel or app that your customers use to create orders. Some examples of these include Facebook and Online Store. You can join this table with the sales table to measure channel performance.", - "fullyQualifiedName": "bigquery.shopify.dim_api_client", - "columns": [ - { - "name": "api_client_id", - "dataType": "NUMERIC", - "description": "ID of the API client that called the Shopify API. For example, the ID for the online store is 580111.", - "tags": null, - "ordinalPosition": 1 - }, - { - "name": "title", - "dataType": "VARCHAR", - "description": "Full name of the app or channel. For example, Point of Sale, Online Store.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 2 - } - ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 2, - "rowCount": 800, - "columnProfile": [ - { - "name": "api_client_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.99869876 - }, - { - "name": "title", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 29, - "nullProportion": 0.416460065 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 2, - "rowCount": 1452, - "columnProfile": [ - { - "name": "api_client_id", - "uniqueCount": 9, - "uniqueProportion": 0.92492032, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "title", - "uniqueCount": 29, - "uniqueProportion": 0.33027726, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 2, - "rowCount": 303, - "columnProfile": [ - { - "name": "api_client_id", - "uniqueCount": 9, - "uniqueProportion": 0.95612392, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "title", - "uniqueCount": 29, - "uniqueProportion": 0.351362996, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 2, - "rowCount": 120, - "columnProfile": [ - { - "name": "api_client_id", - "uniqueCount": 9, - "uniqueProportion": 0.45292365, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "title", - "uniqueCount": 29, - "uniqueProportion": 0.283684969, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 2, - "rowCount": 685, - "columnProfile": [ - { - "name": "api_client_id", - "uniqueCount": 9, - "uniqueProportion": 0.87924166, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "title", - "uniqueCount": 29, - "uniqueProportion": 0.4712713414, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" + "followers": [], + "joins": { + "startDate": "2021-10-30", + "dayCount": 30, + "columnJoins": [] }, - "tags": null, - "joins": null - }, - { - "id": "c4be7688-7810-45cc-b17c-3409243d71ee", - "name": "dim_customer", - "tableType": "Regular", - "description": "The dimension table contains data about your customers. The customers table contains one row per customer. It includes historical metrics (such as the total amount that each customer has spent in your store) as well as forward-looking metrics (such as the predicted number of days between future orders and the expected order value in the next 30 days). This table also includes columns that segment customers into various categories (such as new, returning, promising, at risk, dormant, and loyal), which you can use to target marketing activities.", - "fullyQualifiedName": "bigquery.shopify.dim_customer", - "columns": [ - { - "name": "customer_id", - "dataType": "NUMERIC", - "description": "The ID of the customer. This is the primary key column for this table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "average_order_size", - "dataType": "NUMERIC", - "description": "The average amount of money that the customer spends on orders from the store. The value is formatted in the store's currency and it is calculated using the following formula: total_order_value / total_order_count.", - "tags": null, - "ordinalPosition": 3 - }, - { - "name": "total_order_count", - "dataType": "NUMERIC", - "description": "The total number of orders that the customer has made from this store across their lifetime.", - "tags": null, - "ordinalPosition": 4 - }, - { - "name": "total_order_value", - "dataType": "NUMERIC", - "description": "The total amount of money that the customer has spent on orders from the store across their lifetime. The value is formatted in the store's currency.", - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "first_order_date", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the customer placed their first order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 6 - }, - { - "name": "last_order_date", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the customer placed their most recent order. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 7 - }, - { - "name": "rank", - "dataType": "NUMERIC", - "description": "A numeric ranking of the customer's lifetime value for the store relative to all customers.", - "tags": null, - "ordinalPosition": 8 - }, - { - "name": "new", - "dataType": "BOOLEAN", - "description": "Returns true if the customer made their first order in the last 30 days. Otherwise returns false.", - "tags": null, - "ordinalPosition": 9 - }, - { - "name": "returning", - "dataType": "BOOLEAN", - "description": "Returns true when the customer has made more than one order. Returns false when the customer has made one order only. Returns Null when the customer exists in Shopify, but they have not made any orders. For example, this column can be null because the customer provided their contact information and then abandoned the checkout. Customers can also be created manually in the Shopify admin and by apps that use the Admin API.", - "tags": null, - "ordinalPosition": 10 - }, - { - "name": "loyal", - "dataType": "BOOLEAN", - "description": "Returns true when the customer has a high probability of returning, and has placed more orders than the average customer. Otherwise returns false.", - "tags": null, - "ordinalPosition": 11 - }, - { - "name": "at_risk", - "dataType": "BOOLEAN", - "description": "Returns true for repeat customers, who have a medium probability of returning and have not placed an order in a while. Otherwise returns false.", - "tags": null, - "ordinalPosition": 12 - }, - { - "name": "dormant", - "dataType": "BOOLEAN", - "description": "Returns true when the customer has a very low probability of returning to make another purchase. Otherwise returns false.", - "tags": null, - "ordinalPosition": 13 - }, - { - "name": "promising", - "dataType": "BOOLEAN", - "description": "Returns true when the customer has a high probability of returning and becoming a loyal customer. Otherwise returns false.", - "tags": null, - "ordinalPosition": 14 - }, - { - "name": "predicted_average_number_of_days_between_orders", - "dataType": "NUMERIC", - "description": "The predicated number of days between future orders.", - "tags": null, - "ordinalPosition": 15 - }, - { - "name": "expected_purchase_value_in_next_30_days", - "dataType": "NUMERIC", - "description": "The total purchase amount of the orders that the customer is expected to make in the next 30 days. The value is formatted in the store's currency.", - "tags": null, - "ordinalPosition": 16 - }, - { - "name": "first_name", - "dataType": "VARCHAR", - "description": "The first name of the customer.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 17 - }, - { - "name": "last_name", - "dataType": "VARCHAR", - "description": "The last name of the customer.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 18 - }, - { - "name": "city", - "dataType": "VARCHAR", - "description": "The city from the customer's billing address. For example, Topeka.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 19 - }, - { - "name": "region", - "dataType": "VARCHAR", - "description": "The name of the region, such as the province or state, from the customer's billing address. For example, Alberta, Florida. This column is the same as CustomerAddress.province in the Admin API.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 20 - }, - { - "name": "country", - "dataType": "VARCHAR", - "description": "The country from the customer's billing address. For example, United States.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 21 - }, - { - "name": "email", - "dataType": "VARCHAR", - "description": "The email of the customer.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 22 - }, - { - "name": "phone", - "dataType": "VARCHAR", - "description": "The phone number of the customer.", - "tags": null, - "dataLength": 15, - "ordinalPosition": 23 - }, - { - "name": "verified_email", - "dataType": "BOOLEAN", - "description": "Returns true when the customer's email has been verified. Otherwise returns false.", - "tags": null, - "dataLength": 15, - "ordinalPosition": 24 - }, - { - "name": "created_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the customer was added to the store. The format is YYYY-MM-DD HH:mm:ss (for example, 2018-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 25 - }, - { - "name": "accepts_marketing", - "dataType": "BOOLEAN", - "description": "Returns true when the customer has agreed to accept marketing. Otherwise returns false.", - "tags": null, - "ordinalPosition": 26 - }, - { - "name": "customer", - "dataType": "STRUCT", - "description": "Customer Personal Details", - "dataTypeDisplay": "struct", - "children": [ - { - "name": "username", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(32)", - "dataLength": 20 - }, - { - "name": "name", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(32)", - "dataLength": 20 - }, - { - "name": "sex", - "dataType": "CHAR", - "dataTypeDisplay": "CHAR(1)", - "dataLength": 1 - }, - { - "name": "address", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(128)", - "dataLength": 128 - }, - { - "name": "mail", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(64)", - "dataLength": 64 - }, - { - "name": "birthdate", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(16)", - "dataLength": 16 - } + "sampleData": { + "columns": [ + "comments", + "products", + "platform", + "store_address", + "first_order_date", + "last_order_date" + ], + "rows": [ + [null, null, null, "78627 Deborah Union", 514985798, 979630616], + [ + null, + null, + null, + "80512 Bowen Prairie Apt. 176", + 1247814647, + 968575744 ], - "tags": null, - "ordinalPosition": 27 - }, - { - "name": "shipping_address", - "dataType": "ARRAY", - "dataTypeDisplay": "array>", - "arrayDataType": "STRUCT" - }, - { - "name": "orders", - "dataType": "ARRAY", - "dataTypeDisplay": "array>", - "arrayDataType": "STRUCT" - } - ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 29, - "rowCount": 169, - "columnProfile": [ - { - "name": "customer_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 12, - "nullProportion": 0.5051158739 - }, - { - "name": "shop_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.4392737435 - }, - { - "name": "average_order_size", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.211333415 - }, - { - "name": "total_order_count", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 41, - "nullProportion": 0.523845794 - }, - { - "name": "total_order_value", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.5035239596 - }, - { - "name": "first_order_date", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 42, - "nullProportion": 0.2339934101 - }, - { - "name": "last_order_date", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 7, - "nullProportion": 0.3713034 - }, - { - "name": "rank", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 8, - "nullProportion": 0.4928660268 - }, - { - "name": "new", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 8, - "nullProportion": 0.1182713053 - }, - { - "name": "returning", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 35, - "nullProportion": 0.3816858866 - }, - { - "name": "loyal", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 49, - "nullProportion": 0.1353642629 - }, - { - "name": "at_risk", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.6448024763 - }, - { - "name": "dormant", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 3, - "nullProportion": 0.205675956 - }, - { - "name": "promising", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 11, - "nullProportion": 0.3642826316 - }, - { - "name": "predicted_average_number_of_days_between_orders", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 7, - "nullProportion": 0.181878483 - }, - { - "name": "expected_purchase_value_in_next_30_days", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 33, - "nullProportion": 0.3608017907 - }, - { - "name": "first_name", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 49, - "nullProportion": 0.5433543468 - }, - { - "name": "last_name", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 45, - "nullProportion": 0.917230701 - }, - { - "name": "city", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.186672047 - }, - { - "name": "region", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 17, - "nullProportion": 0.3818051185 - }, - { - "name": "country", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 2, - "nullProportion": 0.7356057 - }, - { - "name": "email", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.5562358023 - }, - { - "name": "phone", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 35, - "nullProportion": 0.2363921367 - }, - { - "name": "verified_email", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 32, - "nullProportion": 0.1098246458 - }, - { - "name": "created_at", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 15, - "nullProportion": 0.419264446 - }, - { - "name": "accepts_marketing", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.1568123619 - }, - { - "name": "customer", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.4638419273 - }, - { - "name": "shipping_address", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 24, - "nullProportion": 0.887110909 - }, - { - "name": "orders", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 29, - "nullProportion": 0.0639865 - } + [ + null, + null, + null, + "01579 Rebecca Springs Suite 203", + 1249319114, + 1536111887 + ], + [null, null, null, "6880 Tanya View", 1106055108, 1497644149], + [ + null, + null, + null, + "7765 Joseph Trail Apt. 453", + 1208406566, + 306977382 + ], + [null, null, null, "13889 Myers Glens", 528859995, 373101641], + [null, null, null, "345 Buck Cape Suite 993", 439900797, 1209900190], + [null, null, null, "8344 Harris Station", 805563149, 1606595892], + [ + null, + null, + null, + "035 Janet Center Suite 176", + 141503721, + 757068935 + ], + [null, null, null, "355 Mora Mount", 1478441258, 1189496100], + [ + null, + null, + null, + "04737 Flores Prairie Apt. 054", + 515978886, + 1551551994 + ], + [null, null, null, "6743 Carrie Lakes", 750420514, 745246567], + [ + null, + null, + null, + "87032 Valencia Loaf Suite 187", + 629251835, + 1582229890 + ], + [null, null, null, "156 Collins Oval", 117712479, 1318008496], + [null, null, null, "47231 Barnett Hills", 1594777023, 1365166509], + [ + null, + null, + null, + "623 Spence Brooks Suite 414", + 817130003, + 565984686 + ], + [null, null, null, "4214 Lee Mews Apt. 526", 1375497279, 700670932], + [null, null, null, "44227 Steve Brook", 85587341, 330689149], + [null, null, null, "434 Wood Landing", 323889620, 862042363], + [ + null, + null, + null, + "2935 Johnson Valley Suite 722", + 715495669, + 424732120 + ], + [null, null, null, "8454 Smith Estate", 970801775, 203241397], + [ + null, + null, + null, + "638 Phillips Trafficway Suite 123", + 1057013303, + 1554125856 + ], + [ + null, + null, + null, + "0636 Megan Stravenue Suite 992", + 166081446, + 118523794 + ], + [ + null, + null, + null, + "9345 Thomas Springs Apt. 660", + 1097040045, + 1280127444 + ], + [ + null, + null, + null, + "47835 Timothy Rest Apt. 565", + 759507013, + 987413915 ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 29, - "rowCount": 169, - "columnProfile": [ - { - "name": "customer_id", - "uniqueCount": 6, - "uniqueProportion": 0.5743524436, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 50, - "uniqueProportion": 0.6085937123, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "average_order_size", - "uniqueCount": 33, - "uniqueProportion": 0.1216335522, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 7, - "uniqueProportion": 0.4860854512, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 11, - "uniqueProportion": 0.2709761857, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 45, - "uniqueProportion": 0.6521664, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 27, - "uniqueProportion": 0.65104552, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "rank", - "uniqueCount": 33, - "uniqueProportion": 0.2576120378, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "new", - "uniqueCount": 41, - "uniqueProportion": 0.4945043017, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returning", - "uniqueCount": 2, - "uniqueProportion": 0.5011627434, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "loyal", - "uniqueCount": 44, - "uniqueProportion": 0.542212894, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "at_risk", - "uniqueCount": 28, - "uniqueProportion": 0.34878114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "dormant", - "uniqueCount": 44, - "uniqueProportion": 0.4879537976, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "promising", - "uniqueCount": 27, - "uniqueProportion": 0.4609134841, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "predicted_average_number_of_days_between_orders", - "uniqueCount": 22, - "uniqueProportion": 0.1257138318, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "expected_purchase_value_in_next_30_days", - "uniqueCount": 45, - "uniqueProportion": 0.2320211758, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 37, - "uniqueProportion": 0.554473982, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 22, - "uniqueProportion": 0.2061011165, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 40, - "uniqueProportion": 0.2329718096, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 26, - "uniqueProportion": 0.3342512759, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 15, - "uniqueProportion": 0.636461656, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "email", - "uniqueCount": 48, - "uniqueProportion": 0.3903644928, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 24, - "uniqueProportion": 0.2869745093, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "verified_email", - "uniqueCount": 15, - "uniqueProportion": 0.3816119087, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "created_at", - "uniqueCount": 20, - "uniqueProportion": 0.21255889, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "accepts_marketing", - "uniqueCount": 22, - "uniqueProportion": 0.2773134541, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 12, - "uniqueProportion": 0.5725251922, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 20, - "uniqueProportion": 0.5881850772, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 29, - "rowCount": 169, - "columnProfile": [ - { - "name": "customer_id", - "uniqueCount": 36, - "uniqueProportion": 0.336195998, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 28, - "uniqueProportion": 0.4739714916, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "average_order_size", - "uniqueCount": 19, - "uniqueProportion": 0.5744817038, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 46, - "uniqueProportion": 0.2788957693, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 45, - "uniqueProportion": 0.937251, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 41, - "uniqueProportion": 0.2810435177, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 12, - "uniqueProportion": 0.2593465018, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "rank", - "uniqueCount": 4, - "uniqueProportion": 0.3510410083, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "new", - "uniqueCount": 39, - "uniqueProportion": 0.2894960005, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returning", - "uniqueCount": 17, - "uniqueProportion": 0.2547630752, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "loyal", - "uniqueCount": 32, - "uniqueProportion": 0.4110863218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "at_risk", - "uniqueCount": 15, - "uniqueProportion": 0.1368357218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "dormant", - "uniqueCount": 34, - "uniqueProportion": 0.6528436015, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "promising", - "uniqueCount": 47, - "uniqueProportion": 0.2185756809, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "predicted_average_number_of_days_between_orders", - "uniqueCount": 10, - "uniqueProportion": 0.536535383, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "expected_purchase_value_in_next_30_days", - "uniqueCount": 22, - "uniqueProportion": 0.5537655182, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 19, - "uniqueProportion": 0.519391001, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 35, - "uniqueProportion": 0.2591610934, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 23, - "uniqueProportion": 0.5388931626, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 22, - "uniqueProportion": 0.67035295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 36, - "uniqueProportion": 0.2429327282, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "email", - "uniqueCount": 43, - "uniqueProportion": 0.298778278, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 10, - "uniqueProportion": 0.313471376, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "verified_email", - "uniqueCount": 14, - "uniqueProportion": 0.2123758734, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "created_at", - "uniqueCount": 5, - "uniqueProportion": 0.1133450776, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "accepts_marketing", - "uniqueCount": 47, - "uniqueProportion": 0.559404346, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 47, - "uniqueProportion": 0.3787454124, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 36, - "uniqueProportion": 0.6354123098, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 29, - "rowCount": 169, - "columnProfile": [ - { - "name": "customer_id", - "uniqueCount": 4, - "uniqueProportion": 0.4183210675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 29, - "uniqueProportion": 0.119225249, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "average_order_size", - "uniqueCount": 41, - "uniqueProportion": 0.1217252894, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 31, - "uniqueProportion": 0.2646313743, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 14, - "uniqueProportion": 0.6232851174, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 45, - "uniqueProportion": 0.6065123498, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 7, - "uniqueProportion": 0.5597331188, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "rank", - "uniqueCount": 10, - "uniqueProportion": 0.24848206, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "new", - "uniqueCount": 22, - "uniqueProportion": 0.4650916037, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returning", - "uniqueCount": 46, - "uniqueProportion": 0.2610128633, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "loyal", - "uniqueCount": 40, - "uniqueProportion": 0.4377761525, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "at_risk", - "uniqueCount": 16, - "uniqueProportion": 0.5155847099, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "dormant", - "uniqueCount": 30, - "uniqueProportion": 0.543161414, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "promising", - "uniqueCount": 24, - "uniqueProportion": 0.31008394, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "predicted_average_number_of_days_between_orders", - "uniqueCount": 48, - "uniqueProportion": 0.4433839684, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "expected_purchase_value_in_next_30_days", - "uniqueCount": 38, - "uniqueProportion": 0.4677442675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 22, - "uniqueProportion": 0.5428334295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 36, - "uniqueProportion": 0.2237347631, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 33, - "uniqueProportion": 0.6154536097, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 49, - "uniqueProportion": 0.3830947963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 21, - "uniqueProportion": 0.5591015673, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "email", - "uniqueCount": 36, - "uniqueProportion": 0.2337815644, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 13, - "uniqueProportion": 0.5565825944, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "verified_email", - "uniqueCount": 48, - "uniqueProportion": 0.3505349173, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "created_at", - "uniqueCount": 1, - "uniqueProportion": 0.1188236769, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "accepts_marketing", - "uniqueCount": 19, - "uniqueProportion": 0.2701732882, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 36, - "uniqueProportion": 0.588168791, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 48, - "uniqueProportion": 0.4528911076, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 29, - "rowCount": 169, - "columnProfile": [ - { - "name": "customer_id", - "uniqueCount": 46, - "uniqueProportion": 0.4556834255, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 36, - "uniqueProportion": 0.412740311, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "average_order_size", - "uniqueCount": 9, - "uniqueProportion": 0.4848320849, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_count", - "uniqueCount": 16, - "uniqueProportion": 0.274374675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_order_value", - "uniqueCount": 19, - "uniqueProportion": 0.1779729031, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_order_date", - "uniqueCount": 5, - "uniqueProportion": 0.403198425, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_order_date", - "uniqueCount": 41, - "uniqueProportion": 0.5763257885, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "rank", - "uniqueCount": 1, - "uniqueProportion": 0.271483578, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "new", - "uniqueCount": 18, - "uniqueProportion": 0.54392552, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returning", - "uniqueCount": 48, - "uniqueProportion": 0.457357716, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "loyal", - "uniqueCount": 47, - "uniqueProportion": 0.1455819185, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "at_risk", - "uniqueCount": 25, - "uniqueProportion": 0.502421822, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "dormant", - "uniqueCount": 10, - "uniqueProportion": 0.4514540014, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "promising", - "uniqueCount": 5, - "uniqueProportion": 0.643516191, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "predicted_average_number_of_days_between_orders", - "uniqueCount": 37, - "uniqueProportion": 0.1991445491, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "expected_purchase_value_in_next_30_days", - "uniqueCount": 23, - "uniqueProportion": 0.3934633215, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "first_name", - "uniqueCount": 10, - "uniqueProportion": 0.521182903, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "last_name", - "uniqueCount": 41, - "uniqueProportion": 0.577276297, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "city", - "uniqueCount": 15, - "uniqueProportion": 0.1038962515, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "region", - "uniqueCount": 24, - "uniqueProportion": 0.4806029226, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "country", - "uniqueCount": 23, - "uniqueProportion": 0.285063012, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "email", - "uniqueCount": 4, - "uniqueProportion": 0.502737667, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "phone", - "uniqueCount": 4, - "uniqueProportion": 0.424923401, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "verified_email", - "uniqueCount": 39, - "uniqueProportion": 0.1127764811, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "created_at", - "uniqueCount": 35, - "uniqueProportion": 0.5043061999, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "accepts_marketing", - "uniqueCount": 32, - "uniqueProportion": 0.370361415, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer", - "uniqueCount": 47, - "uniqueProportion": 0.983529122, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address", - "uniqueCount": 38, - "uniqueProportion": 0.1136043573, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "orders", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "6022df14-dfcb-42ba-971a-72c2612f1c21", - "name": "dim_location", - "tableType": "Regular", - "description": "The dimension table contains metrics about your Shopify POS. This table contains one row per Shopify POS location. You can use this table to generate a list of the Shopify POS locations or you can join the table with the sales table to measure sales performance.", - "fullyQualifiedName": "bigquery.shopify.dim_location", - "columns": [ - { - "name": "location_id", - "dataType": "NUMERIC", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "name", - "dataType": "VARCHAR", - "description": "Name of the POS location as provided by the merchant. For example, 150 Elgin Street or Downtown Boutique.", - "tags": null, - "ordinalPosition": 3, - "dataLength": 100 - }, - { - "name": "address", - "dataType": "STRUCT", - "dataTypeDisplay": "struct>", - "children": [ - { - "name": "street_name", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(24)", - "dataLength": 24 - }, - { - "name": "zipcode", - "dataType": "INT", - "dataTypeDisplay": "int" - }, - { - "name": "city", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(100)", - "dataLength": 100 - }, - { - "name": "country", - "dataType": "STRUCT", - "dataTypeDisplay": "struct", - "children": [ - { - "name": "country_code", - "dataType": "INT", - "dataTypeDisplay": "INT" - }, - { - "name": "country_name", - "dataType": "VARCHAR", - "dataTypeDisplay": "VARCHAR(100)", - "dataLength": 100 - } - ] - } - ] - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "2a88779a-8c46-43d0-a364-d0461ba2e070", - "name": "dim_product", - "tableType": "Regular", - "description": "This dimension table contains information about each of the products in your store. This table contains one row per product. This table reflects the current state of products in your Shopify admin.", - "fullyQualifiedName": "bigquery.shopify.dim_product", - "columns": [ - { - "name": "product_id", - "dataType": "NUMERIC", - "description": "Unique identifier for the product. This column is the primary key for this table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "title", - "dataType": "VARCHAR", - "description": "Name of the product.", - "tags": null, - "ordinalPosition": 3, - "dataLength": 100 - }, - { - "name": "vendor", - "dataType": "VARCHAR", - "description": "Name of the manufacturer, wholesaler, or other vendor of the product.", - "tags": null, - "ordinalPosition": 4, - "dataLength": 100 - }, - { - "name": "created_at", - "dataType": "TIMESTAMP", - "description": "Date (ISO 8601) and time (UTC) when the product was added to the store. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "deleted_at", - "dataType": "TIMESTAMP", - "description": "Date (ISO 8601) and time (UTC) when the product was deleted. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 6 - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "217bd67d-b3ef-4215-ab2e-2a9da923a345", - "name": "dim_product_variant", - "tableType": "Regular", - "description": "This dimension table contains current information about each of the product variants in your store. This table contains one row per product variant.", - "fullyQualifiedName": "bigquery.shopify.dim_product_variant", - "columns": [ - { - "name": "product_variant_id", - "dataType": "NUMERIC", - "description": "The ID of the product variant. This column is the primary key for this table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "product_id", - "dataType": "NUMERIC", - "description": "The ID of the product. This column is a foreign key reference to the product_id column in dim_product table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 3 - }, - { - "name": "title", - "dataType": "VARCHAR", - "description": "The title of the product variant.", - "tags": null, - "ordinalPosition": 4, - "dataLength": 100 - }, - { - "name": "barcode", - "dataType": "VARCHAR", - "description": "The Barcode, UPC, or ISBN number of the product variant.", - "tags": null, - "ordinalPosition": 5, - "dataLength": 100 - }, - { - "name": "sku", - "dataType": "VARCHAR", - "description": "The SKU of the product variant.", - "tags": null, - "ordinalPosition": 6, - "dataLength": 100 - }, - { - "name": "price", - "dataType": "NUMERIC", - "description": "The price of the product variant, in your store's currency.", - "tags": null, - "ordinalPosition": 7 - }, - { - "name": "grams", - "dataType": "NUMERIC", - "description": "Number of grams that the product variant weighs.", - "tags": null, - "ordinalPosition": 8 - }, - { - "name": "created_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the product variant was added to the store. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 9 - }, - { - "name": "deleted_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the product variant was deleted. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 10 - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "023d5944-e20e-41e0-8608-ea0ab0133e13", - "name": "dim_shop", - "tableType": "Regular", - "description": "This dimension table contains online shop information. This table contains one shop per row.", - "fullyQualifiedName": "bigquery.shopify.dim_shop", - "columns": [ - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "Unique identifier for the store. This column is the primary key for this table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "name", - "dataType": "VARCHAR", - "description": "Name of your store.", - "tags": null, - "ordinalPosition": 2, - "dataLength": 100 - }, - { - "name": "domain", - "dataType": "VARCHAR", - "description": "Primary domain specified for your online store. Your primary domain is the one that your customers and search engines see. For example, www.mycompany.com.", - "tags": null, - "ordinalPosition": 3, - "dataLength": 1000 - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "e3f80a50-8318-4385-b041-ec6126d262d0", - "name": "dim_staff", - "tableType": "Regular", - "description": "This dimension table contains information about the staff accounts in the store. It contains one row per staff account. Use this table to generate a list of your staff accounts, or join it with the sales, API clients and locations tables to analyze staff performance at Shopify POS locations.", - "fullyQualifiedName": "bigquery.shopify.dim_staff", - "columns": [ - { - "name": "user_id", - "dataType": "NUMERIC", - "description": "Unique identifier for the user of your Shopify POS or your Shopify admin.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "first_name", - "dataType": "VARCHAR", - "description": "First name of the staff member.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 3 - }, - { - "name": "last_name", - "dataType": "VARCHAR", - "description": "Last name of the staff member.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 4 - }, - { - "name": "email", - "dataType": "VARCHAR", - "description": "Email address of the staff member.", - "tags": null, - "dataLength": 100, - "ordinalPosition": 5 - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "790d46e4-753f-4366-b3c3-0cd372aaa12e", - "name": "fact_line_item", - "tableType": "Regular", - "description": "The fact table contains information about the line items in orders. Each row in the table is a line item in an order. It contains product and product variant details as they were at the time of the order. This table does not include information about returns. Join this table with the TODO fact_sales table to get the details of the product on the day it was sold. This data will match what appears on the order in your Shopify admin as well as the in the Sales reports.", - "fullyQualifiedName": "bigquery.shopify.fact_line_item", - "columns": [ - { - "name": "line_item_id", - "dataType": "NUMERIC", - "description": "ID of the line item. This column is the primary key for the this table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "billing_address_id", - "dataType": "NUMERIC", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "order_id", - "dataType": "NUMERIC", - "description": "ID of the order. This column is a foreign key reference to the orders_id column in the fact_order table.", - "tags": null, - "ordinalPosition": 3 - }, - { - "name": "product_id", - "dataType": "NUMERIC", - "description": "ID of the product ordered, unless the line item is for shipping costs (you can add custom items using a draft order). This column is a foreign key reference to the product_id column in the dim_product table.", - "tags": null, - "ordinalPosition": 4 - }, - { - "name": "product_variant_id", - "dataType": "NUMERIC", - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 6 - }, - { - "name": "name", - "dataType": "VARCHAR", - "description": "Name of the line item. This name combines the product title and the variant title into the following format: product-title - variant-title. If there is no variant title, then the format is product-title. This column is the same as order.line_items.name\"in the Admin API.", - "tags": null, - "ordinalPosition": 7, - "dataLength": 100 - }, - { - "name": "product_title", - "dataType": "VARCHAR", - "description": "Name of the product ordered. This column is the same as order.line_items.title in the Admin API.", - "tags": null, - "ordinalPosition": 8, - "dataLength": 150 - }, - { - "name": "price", - "dataType": "NUMERIC", - "description": "Price of the product variant.", - "tags": null, - "ordinalPosition": 9 - }, - { - "name": "quantity", - "dataType": "NUMERIC", - "description": "Number of product variant items ordered in the line item.", - "tags": null, - "ordinalPosition": 10 - }, - { - "name": "requires_shipping", - "dataType": "BOOLEAN", - "description": "Whether the product variant requires fulfillment (shipping). For example, online gift cards don't require shipping.", - "tags": null, - "ordinalPosition": 11 - }, - { - "name": "taxable", - "dataType": "BOOLEAN", - "description": "Whether taxes are charged for the product variant, otherwise contains 0. For example, when the line item is a gift card, taxes are not charged.", - "tags": null, - "ordinalPosition": 12 - }, - { - "name": "gift_card", - "dataType": "BOOLEAN", - "description": "Whether the product variant is a gift card.", - "tags": null, - "ordinalPosition": 13 - }, - { - "name": "grams", - "dataType": "NUMERIC", - "description": "Weight of a single unit of the product variant. Contains 0 when the product variant is a gift card.", - "tags": null, - "ordinalPosition": 14 - }, - { - "name": "product_vendor", - "dataType": "VARCHAR", - "description": "Name of the manufacturer, wholesaler, or other vendor of the product.", - "tags": null, - "ordinalPosition": 15, - "dataLength": 200 - }, - { - "name": "fulfillable_quantity", - "dataType": "NUMERIC", - "description": "Number of product variant items in the line item that require fulfillment. Some product variants, such as gift cards and digital products, do not need to be fulfilled.", - "tags": null, - "ordinalPosition": 16 - }, - { - "name": "fulfillment_service", - "dataType": "VARCHAR", - "description": "Name of the fulfillment service provider that fulfilled (shipped) the variant ordered. Contains manual when there is no fulfillment service specified for the variant.", - "tags": null, - "ordinalPosition": 17, - "dataLength": 100 - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "790d46e4-753f-4366-b3c3-0cd372aaa12e", - "name": "fact_order", - "tableType": "Regular", - "description": "The orders table contains information about each order in your store. Although this table is good for generating order lists and joining with the dim_customer, use the sales table instead for computing financial or other metrics.", - "fullyQualifiedName": "bigquery.shopify.fact_order", - "columns": [ - { - "name": "order_id", - "dataType": "NUMERIC", - "description": "Unique numeric identifier for the order across Shopify stores. In your Shopify admin, this ID is used internally. Most merchants are familiar with the other ID that appears on orders in the Shopify admin. This ID can be found in the Name column.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "api_client_id", - "dataType": "NUMERIC", - "description": "The ID of the API client that called the Shopify API. This column is a foreign key reference to the api_client_id column in the dim_api_client table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "billing_address_id", - "dataType": "NUMERIC", - "tags": null, - "ordinalPosition": 3 - }, - { - "name": "customer_id", - "dataType": "NUMERIC", - "description": "The ID of the customer. This column is a foreign key reference to the customer_id column in the dim_customer table.", - "tags": null, - "ordinalPosition": 4 - }, - { - "name": "location_id", - "dataType": "NUMERIC", - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "shipping_address_id", - "dataType": "NUMERIC", - "tags": null, - "ordinalPosition": 6 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 7 - }, - { - "name": "user_id", - "dataType": "NUMERIC", - "description": "The ID of the staff member who created the order. This column is a foreign key reference to the ID in the dim_staff table. This column applies to Shopify POS orders and to orders that were converted from draft orders.", - "tags": null, - "ordinalPosition": 8 - }, - { - "name": "name", - "dataType": "VARCHAR", - "description": "The identifier of the order that the merchant and customer sees. This is the ID that appears on the order in the Shopify admin. For example, #1001. By default, this identifier is unique to one store. If you have multiple stores, then use the order_id column to guarantee uniqueness across multiple stores.", - "tags": null, - "ordinalPosition": 9, - "dataLength": 100 - }, - { - "name": "total_price", - "dataType": "NUMERIC", - "description": "The total price of the order, including shipping and taxes. This column includes gift card sales, but does not include returns. This value may not be accurate for API-imported orders. Do not use this column for financial calculations. Instead, use the total_price column in the sales table.", - "tags": null, - "ordinalPosition": 10 - }, - { - "name": "discount_code", - "dataType": "VARCHAR", - "description": "The discount code that was applied to the order.", - "tags": null, - "ordinalPosition": 11, - "dataLength": 100 - }, - { - "name": "processed_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the order was created. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 12 - }, - { - "name": "canceled_at", - "dataType": "TIMESTAMP", - "description": "If the order was canceled, then this column contains the date (ISO 8601) and time (UTC) when the order was canceled. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 13 - }, - { - "name": "deleted_at", - "dataType": "TIMESTAMP", - "description": "If the order was deleted, then this column contains the date (ISO 8601) and time (UTC) when the order was deleted. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 14 - }, - { - "name": "test", - "dataType": "BOOLEAN", - "description": "True when the order is a test order, False otherwise.", - "tags": null, - "ordinalPosition": 15 - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "790d46e4-753f-4366-b3c3-0cd372aaa12e", - "name": "fact_sale", - "tableType": "Regular", - "description": "The fact table captures the value of products sold or returned, as well as the values of other charges such as taxes and shipping costs. The sales table contains one row per order line item, one row per returned line item, and one row per shipping charge. Use this table when you need financial metrics.", - "fullyQualifiedName": "bigquery.shopify.fact_sale", - "columns": [ - { - "name": "sale_id", - "dataType": "NUMERIC", - "description": "ID of the sale row. This column is the primary key for this table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1 - }, - { - "name": "billing_address_id", - "dataType": "NUMERIC", - "description": "ID of the billing address of the customer. This column is a foreign key reference to the address_id column in the dim_address table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "api_client_id", - "dataType": "NUMERIC", - "description": "ID of the API client from which the adjustment was made. This column is a foreign key reference to the ID of the API client in the dim_api_client table.", - "tags": null, - "ordinalPosition": 3 - }, - { - "name": "customer_id", - "dataType": "NUMERIC", - "description": "ID of the customer. This column is a foreign key reference to the customer_id column in the dim_customer table.", - "tags": null, - "ordinalPosition": 4 - }, - { - "name": "line_item_id", - "dataType": "NUMERIC", - "description": "ID of the line item. This column is a foreign key reference to line_item_id column in the fact_line_item table. When the row describes a shipping charge, there is no line_item_id value.", - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "location_id", - "dataType": "NUMERIC", - "description": "ID of the Shopify POS location. This column is a foreign key reference to the location_id column in the dim_location table. When the order is not a POS order, then there is no location ID.", - "tags": null, - "ordinalPosition": 6 - }, - { - "name": "order_id", - "dataType": "NUMERIC", - "description": "ID of the order. This column is a foreign key reference to order_id column in the fact_order table.", - "tags": null, - "ordinalPosition": 7 - }, - { - "name": "product_id", - "dataType": "NUMERIC", - "description": "ID of the product sold or returned. This column is a foreign key reference to the product_id column in the dim_product table. When the line item describes a shipping charge, then there is no product ID.", - "tags": null, - "ordinalPosition": 8 - }, - { - "name": "product_variant_id", - "dataType": "NUMERIC", - "description": "ID of the product variant sold or returned. This column is a foreign key reference to the product_variant_id column in the dim_product_variant table. When the row describes a shipping charge, then there is no product variant ID.", - "tags": null, - "ordinalPosition": 9 - }, - { - "name": "shipping_address_id", - "dataType": "NUMERIC", - "description": "ID of the shipping address of the customer who made the order. This column is a foreign key reference to the address_id column in the dim_address table. Some sales, such as those made using Shopify POS, do not have a customer's shipping address associated with them.", - "tags": null, - "ordinalPosition": 10 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "ID of your store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 11 - }, - { - "name": "user_id", - "dataType": "NUMERIC", - "description": "ID of the staff member who is associated with the sale. This column is a foreign key reference to the user_id column in the dim_staff table. Not all sales have a staff member associated with them.", - "tags": null, - "ordinalPosition": 12 - }, - { - "name": "gross_sales", - "dataType": "NUMERIC", - "description": "Price of the product purchased multiplied by the quantity ordered. This value is formatted in the currency of your store. If the product purchased is a gift card, then 0 is returned because gift cards are not included in gross sales calculations. The gross sales amount also does not include any discounts, returns, taxes or shipping charges. The gross_sales column is calculated using the following formula: product (excluding gift cards) price x quantity (before taxes, shipping, discounts, and returns). Canceled, pending, and unpaid orders will have a value for this column, but test and deleted orders will not.", - "tags": null, - "ordinalPosition": 13 - }, - { - "name": "net_sales", - "dataType": "NUMERIC", - "description": "Net sales of the line item. The value of the line item's gross sales minus any discounts minus the value of any returned items. Net sales does not include taxes or shipping costs, or the sale of gift cards. If the line item contains gift cards, then the field contains 0. Net sales is calculated by using the following formula: gross_sales - discounts - returns.", - "tags": null, - "ordinalPosition": 14 - }, - { - "name": "total_sales", - "dataType": "NUMERIC", - "description": "Total sales of the line item. This value does not include gift cards. Total sales is calculated using the following formula: net_sales + shipping + taxes.", - "tags": null, - "ordinalPosition": 15 - }, - { - "name": "returns", - "dataType": "NUMERIC", - "description": "Value of the products returned by the customer regardless of the amount that the merchant actually receives from the customer. This value is usually a negative number, but it can also be zero (for example, if the item being returned was a free gift with purchase). Taxes and shipping charges are not included. The returns amount is calculated by using the following formula: 0 - (product variant price * quantity) + discounts.", - "tags": null, - "ordinalPosition": 16 - }, - { - "name": "discounts", - "dataType": "NUMERIC", - "description": "Total amount discounted from the line item. The discounts column contains the sum of any line item discounts plus the line item's portion of any order-level discount. The value of the discount is either negative or zero. The discounts column is calculated using the following formula: line item discount + order level discount share.", - "tags": null, - "ordinalPosition": 17 - }, - { - "name": "shipping", - "dataType": "NUMERIC", - "description": "When the line item is for a shipping charge, this column contains the amount charged for shipping the order or the amount of the shipping charge that is refunded when an item is returned. This value is positive for a shipping charge, and negative for the value returned. Any applicable taxes charged for shipping costs are recorded in the Taxes column. This column is calculated using the following formula: shipping charge or refund - shipping discount..", - "tags": null, - "ordinalPosition": 18 - }, - { - "name": "taxes", - "dataType": "NUMERIC", - "description": "The amount of taxes charged or returned for the line item. This value will be positive for a sale and negative for a return. Tax on an order is split proportionally amongst the line items to which it applies. Gift cards are not taxed. If multiple taxes are applied (for example, State and City sales taxes), then this column contains the sum of those tax amounts. This column can include taxes charged on shipping, if they are applicable.", - "tags": null, - "ordinalPosition": 19 - }, - { - "name": "gift_card_discounts", - "dataType": "NUMERIC", - "description": "Total amount discounted from gift card sales. For example, if a $50 gift card is sold at a $10 discount for $40, then this column will contain $10.", - "tags": null, - "ordinalPosition": 20 - }, - { - "name": "gift_card_gross_sales", - "dataType": "NUMERIC", - "description": "Total face value of gift cards sold. For example, a $50 gift card is sold at a $10 discount for $40. In this example, the gift_card_gross_sales column will contain $50. Use this column to measure the increase in liabilities due to gift cards being issued (even though this value will not balance against the actual payments that you receive).", - "tags": null, - "ordinalPosition": 21 - }, - { - "name": "gift_cards_issued", - "dataType": "NUMERIC", - "description": "Net amount that the gift cards sold for, after discounts. For example, for a $50 gift card sold at a $10 discount for $40, this column will contain $40. Use this column to balance against the payments that you receive.", - "tags": null, - "ordinalPosition": 22 - }, - { - "name": "quantity", - "dataType": "NUMERIC", - "description": "Quantity of the items sold or returned. This value will be negative for returns and zero for line items that contain shipping charges.", - "tags": null, - "ordinalPosition": 23 - }, - { - "name": "currency", - "dataType": "VARCHAR", - "description": "Three-letter ISO currency code of the payment. For example, USD is the code for United States Dollar. This is the currency of the store at the time of the order.", - "tags": null, - "ordinalPosition": 24, - "dataLength": 200 - }, - { - "name": "is_deleted", - "dataType": "BOOLEAN", - "description": "Contains 1 when the sale's order was deleted, otherwise contains 0.", - "tags": null, - "ordinalPosition": 25 - }, - { - "name": "test", - "dataType": "BOOLEAN", - "description": "Whether the sale is a test order. Returns True when the sale is a test sale. See Test orders.", - "tags": null, - "ordinalPosition": 26 - }, - { - "name": "happened_at", - "dataType": "TIMESTAMP", - "description": "Date (ISO 8601) and time (UTC) when the order was created for a sale or when the order was returned.", - "tags": null, - "ordinalPosition": 27 - } - ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 27, - "rowCount": 169, - "columnProfile": [ - { - "name": "sale_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 12, - "nullProportion": 0.5051158739 - }, - { - "name": "billing_address_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.4392737435 - }, - { - "name": "api_client_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.211333415 - }, - { - "name": "customer_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 41, - "nullProportion": 0.523845794 - }, - { - "name": "line_item_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.5035239596 - }, - { - "name": "location_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 42, - "nullProportion": 0.2339934101 - }, - { - "name": "order_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 7, - "nullProportion": 0.3713034 - }, - { - "name": "product_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 8, - "nullProportion": 0.4928660268 - }, - { - "name": "product_variant_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 8, - "nullProportion": 0.1182713053 - }, - { - "name": "shipping_address_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 35, - "nullProportion": 0.3816858866 - }, - { - "name": "shop_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 49, - "nullProportion": 0.1353642629 - }, - { - "name": "user_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.6448024763 - }, - { - "name": "gross_sales", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 3, - "nullProportion": 0.205675956 - }, - { - "name": "net_sales", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 11, - "nullProportion": 0.3642826316 - }, - { - "name": "total_sales", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 7, - "nullProportion": 0.181878483 - }, - { - "name": "returns", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 33, - "nullProportion": 0.3608017907 - }, - { - "name": "discounts", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 49, - "nullProportion": 0.5433543468 - }, - { - "name": "shipping", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 45, - "nullProportion": 0.917230701 - }, - { - "name": "taxes", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.186672047 - }, - { - "name": "gift_card_discounts", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 17, - "nullProportion": 0.3818051185 - }, - { - "name": "gift_card_gross_sales", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 2, - "nullProportion": 0.7356057 - }, - { - "name": "gift_cards_issued", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.5562358023 - }, - { - "name": "quantity", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 35, - "nullProportion": 0.2363921367 - }, - { - "name": "currency", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 32, - "nullProportion": 0.1098246458 - }, - { - "name": "is_deleted", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 15, - "nullProportion": 0.419264446 - }, - { - "name": "test", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.1568123619 - }, - { - "name": "happened_at", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.4638419273 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 27, - "rowCount": 169, - "columnProfile": [ - { - "name": "sale_id", - "uniqueCount": 6, - "uniqueProportion": 0.5743524436, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "billing_address_id", - "uniqueCount": 50, - "uniqueProportion": 0.6085937123, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "api_client_id", - "uniqueCount": 33, - "uniqueProportion": 0.1216335522, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer_id", - "uniqueCount": 7, - "uniqueProportion": 0.4860854512, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "line_item_id", - "uniqueCount": 11, - "uniqueProportion": 0.2709761857, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_id", - "uniqueCount": 45, - "uniqueProportion": 0.6521664, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "order_id", - "uniqueCount": 27, - "uniqueProportion": 0.65104552, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_id", - "uniqueCount": 33, - "uniqueProportion": 0.2576120378, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_variant_id", - "uniqueCount": 41, - "uniqueProportion": 0.4945043017, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address_id", - "uniqueCount": 2, - "uniqueProportion": 0.5011627434, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 44, - "uniqueProportion": 0.542212894, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_id", - "uniqueCount": 28, - "uniqueProportion": 0.34878114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gross_sales", - "uniqueCount": 44, - "uniqueProportion": 0.4879537976, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "net_sales", - "uniqueCount": 27, - "uniqueProportion": 0.4609134841, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_sales", - "uniqueCount": 22, - "uniqueProportion": 0.1257138318, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returns", - "uniqueCount": 45, - "uniqueProportion": 0.2320211758, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "discounts", - "uniqueCount": 37, - "uniqueProportion": 0.554473982, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping", - "uniqueCount": 22, - "uniqueProportion": 0.2061011165, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "taxes", - "uniqueCount": 40, - "uniqueProportion": 0.2329718096, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_discounts", - "uniqueCount": 26, - "uniqueProportion": 0.3342512759, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_gross_sales", - "uniqueCount": 15, - "uniqueProportion": 0.636461656, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_cards_issued", - "uniqueCount": 48, - "uniqueProportion": 0.3903644928, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "quantity", - "uniqueCount": 24, - "uniqueProportion": 0.2869745093, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "currency", - "uniqueCount": 15, - "uniqueProportion": 0.3816119087, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "is_deleted", - "uniqueCount": 20, - "uniqueProportion": 0.21255889, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "test", - "uniqueCount": 22, - "uniqueProportion": 0.2773134541, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "happened_at", - "uniqueCount": 12, - "uniqueProportion": 0.5725251922, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 27, - "rowCount": 169, - "columnProfile": [ - { - "name": "sale_id", - "uniqueCount": 36, - "uniqueProportion": 0.336195998, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "billing_address_id", - "uniqueCount": 28, - "uniqueProportion": 0.4739714916, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "api_client_id", - "uniqueCount": 19, - "uniqueProportion": 0.5744817038, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer_id", - "uniqueCount": 46, - "uniqueProportion": 0.2788957693, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "line_item_id", - "uniqueCount": 45, - "uniqueProportion": 0.937251, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_id", - "uniqueCount": 41, - "uniqueProportion": 0.2810435177, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "order_id", - "uniqueCount": 12, - "uniqueProportion": 0.2593465018, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_id", - "uniqueCount": 4, - "uniqueProportion": 0.3510410083, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_variant_id", - "uniqueCount": 39, - "uniqueProportion": 0.2894960005, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address_id", - "uniqueCount": 17, - "uniqueProportion": 0.2547630752, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 32, - "uniqueProportion": 0.4110863218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_id", - "uniqueCount": 15, - "uniqueProportion": 0.1368357218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gross_sales", - "uniqueCount": 34, - "uniqueProportion": 0.6528436015, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "net_sales", - "uniqueCount": 47, - "uniqueProportion": 0.2185756809, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_sales", - "uniqueCount": 10, - "uniqueProportion": 0.536535383, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returns", - "uniqueCount": 22, - "uniqueProportion": 0.5537655182, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "discounts", - "uniqueCount": 19, - "uniqueProportion": 0.519391001, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping", - "uniqueCount": 35, - "uniqueProportion": 0.2591610934, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "taxes", - "uniqueCount": 23, - "uniqueProportion": 0.5388931626, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_discounts", - "uniqueCount": 22, - "uniqueProportion": 0.67035295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_gross_sales", - "uniqueCount": 36, - "uniqueProportion": 0.2429327282, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_cards_issued", - "uniqueCount": 43, - "uniqueProportion": 0.298778278, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "quantity", - "uniqueCount": 10, - "uniqueProportion": 0.313471376, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "currency", - "uniqueCount": 14, - "uniqueProportion": 0.2123758734, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "is_deleted", - "uniqueCount": 5, - "uniqueProportion": 0.1133450776, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "test", - "uniqueCount": 47, - "uniqueProportion": 0.559404346, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "happened_at", - "uniqueCount": 47, - "uniqueProportion": 0.3787454124, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 27, - "rowCount": 169, - "columnProfile": [ - { - "name": "sale_id", - "uniqueCount": 4, - "uniqueProportion": 0.4183210675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "billing_address_id", - "uniqueCount": 29, - "uniqueProportion": 0.119225249, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "api_client_id", - "uniqueCount": 41, - "uniqueProportion": 0.1217252894, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer_id", - "uniqueCount": 31, - "uniqueProportion": 0.2646313743, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "line_item_id", - "uniqueCount": 14, - "uniqueProportion": 0.6232851174, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_id", - "uniqueCount": 45, - "uniqueProportion": 0.6065123498, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "order_id", - "uniqueCount": 7, - "uniqueProportion": 0.5597331188, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_id", - "uniqueCount": 10, - "uniqueProportion": 0.24848206, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_variant_id", - "uniqueCount": 22, - "uniqueProportion": 0.4650916037, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address_id", - "uniqueCount": 46, - "uniqueProportion": 0.2610128633, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 40, - "uniqueProportion": 0.4377761525, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_id", - "uniqueCount": 16, - "uniqueProportion": 0.5155847099, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gross_sales", - "uniqueCount": 30, - "uniqueProportion": 0.543161414, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "net_sales", - "uniqueCount": 24, - "uniqueProportion": 0.31008394, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_sales", - "uniqueCount": 48, - "uniqueProportion": 0.4433839684, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returns", - "uniqueCount": 38, - "uniqueProportion": 0.4677442675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "discounts", - "uniqueCount": 22, - "uniqueProportion": 0.5428334295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping", - "uniqueCount": 36, - "uniqueProportion": 0.2237347631, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "taxes", - "uniqueCount": 33, - "uniqueProportion": 0.6154536097, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_discounts", - "uniqueCount": 49, - "uniqueProportion": 0.3830947963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_gross_sales", - "uniqueCount": 21, - "uniqueProportion": 0.5591015673, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_cards_issued", - "uniqueCount": 36, - "uniqueProportion": 0.2337815644, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "quantity", - "uniqueCount": 13, - "uniqueProportion": 0.5565825944, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "currency", - "uniqueCount": 48, - "uniqueProportion": 0.3505349173, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "is_deleted", - "uniqueCount": 1, - "uniqueProportion": 0.1188236769, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "test", - "uniqueCount": 19, - "uniqueProportion": 0.2701732882, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "happened_at", - "uniqueCount": 36, - "uniqueProportion": 0.588168791, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 27, - "rowCount": 169, - "columnProfile": [ - { - "name": "sale_id", - "uniqueCount": 46, - "uniqueProportion": 0.4556834255, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "billing_address_id", - "uniqueCount": 36, - "uniqueProportion": 0.412740311, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "api_client_id", - "uniqueCount": 9, - "uniqueProportion": 0.4848320849, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "customer_id", - "uniqueCount": 16, - "uniqueProportion": 0.274374675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "line_item_id", - "uniqueCount": 19, - "uniqueProportion": 0.1779729031, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_id", - "uniqueCount": 5, - "uniqueProportion": 0.403198425, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "order_id", - "uniqueCount": 41, - "uniqueProportion": 0.5763257885, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_id", - "uniqueCount": 1, - "uniqueProportion": 0.271483578, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "product_variant_id", - "uniqueCount": 18, - "uniqueProportion": 0.54392552, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping_address_id", - "uniqueCount": 48, - "uniqueProportion": 0.457357716, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 47, - "uniqueProportion": 0.1455819185, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_id", - "uniqueCount": 25, - "uniqueProportion": 0.502421822, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gross_sales", - "uniqueCount": 10, - "uniqueProportion": 0.4514540014, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "net_sales", - "uniqueCount": 5, - "uniqueProportion": 0.643516191, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "total_sales", - "uniqueCount": 37, - "uniqueProportion": 0.1991445491, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "returns", - "uniqueCount": 23, - "uniqueProportion": 0.3934633215, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "discounts", - "uniqueCount": 10, - "uniqueProportion": 0.521182903, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shipping", - "uniqueCount": 41, - "uniqueProportion": 0.577276297, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "taxes", - "uniqueCount": 15, - "uniqueProportion": 0.1038962515, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_discounts", - "uniqueCount": 24, - "uniqueProportion": 0.4806029226, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_card_gross_sales", - "uniqueCount": 23, - "uniqueProportion": 0.285063012, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "gift_cards_issued", - "uniqueCount": 4, - "uniqueProportion": 0.502737667, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "quantity", - "uniqueCount": 4, - "uniqueProportion": 0.424923401, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "currency", - "uniqueCount": 39, - "uniqueProportion": 0.1127764811, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "is_deleted", - "uniqueCount": 35, - "uniqueProportion": 0.5043061999, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "test", - "uniqueCount": 32, - "uniqueProportion": 0.370361415, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "happened_at", - "uniqueCount": 47, - "uniqueProportion": 0.983529122, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null - }, - { - "id": "790d46e4-753f-4366-b3c3-0cd372aaa12e", - "name": "fact_session", - "tableType": "Regular", - "description": "This fact table contains information about the visitors to your online store. This table has one row per session, where one session can contain many page views. If you use Urchin Traffic Module (UTM) parameters in marketing campaigns, then you can use this table to track how many customers they direct to your store.", - "fullyQualifiedName": "bigquery.shopify.fact_session", - "columns": [ - { - "name": "derived_session_token", - "dataType": "VARCHAR", - "description": "The ID of the visitor session. This column is the primary key for the table.", - "tags": null, - "constraint": "PRIMARY_KEY", - "ordinalPosition": 1, - "dataLength": 200 - }, - { - "name": "shop_id", - "dataType": "NUMERIC", - "description": "The ID of the store. This column is a foreign key reference to the shop_id column in the dim_shop table.", - "tags": null, - "ordinalPosition": 2 - }, - { - "name": "session_duration", - "dataType": "NUMERIC", - "description": "The time that the visitor spent in your store during the session. This value is the sum of the time spent on each page view (except for the last page viewed) during the session. The maximum value is 1800 seconds (30 minutes).", - "tags": null, - "ordinalPosition": 3 - }, - { - "name": "count_of_pageviews", - "dataType": "NUMERIC", - "description": "The number of pages viewed during the session.", - "tags": null, - "ordinalPosition": 4 - }, - { - "name": "session_started_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when this visitor session begins. It is the timestamp when the visitor first visits the store during this session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 5 - }, - { - "name": "session_token", - "dataType": "VARCHAR", - "description": "The ID of the session token that is created by the browser. A session token expires after 30 minutes of inactivity.", - "tags": null, - "ordinalPosition": 6, - "dataLength": 200 - }, - { - "name": "user_token", - "dataType": "VARCHAR", - "description": "The unique token assigned to the user. A user token expires after 2 years of inactivity.", - "tags": null, - "constraint": "UNIQUE", - "ordinalPosition": 7, - "dataLength": 20 - }, - { - "name": "landing_page_url", - "dataType": "VARCHAR", - "description": "The full URL of the first page visited during the session. For example, https://www.myshop.com/products/cool-tshirt?utm_source=Shop&utm_medium=....", - "tags": null, - "ordinalPosition": 8, - "dataLength": 1000 - }, - { - "name": "exit_page_path", - "dataType": "VARCHAR", - "description": "The path portion of the URL of the last page that the visitor visited during the session. This field is the same as exit_page_url except that it doesn\u2019t contain the name of the store or any parameters. For example, /products/cool-tshirt.", - "tags": null, - "ordinalPosition": 9, - "dataLength": 1000 - }, - { - "name": "exit_page_url", - "dataType": "VARCHAR", - "description": "The full URL of the last page that the visitor visited during the session. For example, https://www.myshop.com/products/cool-tshirt?utm_source=Shop&utm_medium=....", - "tags": null, - "ordinalPosition": 10, - "dataLength": 1000 - }, - { - "name": "referrer_tld", - "dataType": "VARCHAR", - "description": "The top-level domain of the referring website. For example, if the hostname is www.facebook.com, then the referrer_tld is com.", - "tags": null, - "ordinalPosition": 11, - "dataLength": 100 - }, - { - "name": "ua_browser", - "dataType": "VARCHAR", - "description": "The name of the browser that the visitor used. For example, Mobile Safari, Chrome.", - "tags": null, - "ordinalPosition": 12, - "dataLength": 200 - }, - { - "name": "ua_raw", - "dataType": "VARCHAR", - "description": "The string that identifies the user agent of the user. User agent shows data about the operating system and device that a visitor uses to browse your store.", - "tags": null, - "ordinalPosition": 13, - "dataLength": 2000 - }, - { - "name": "count_of_orders_completed", - "dataType": "NUMERIC", - "description": "The number of orders created during the session.", - "tags": null, - "ordinalPosition": 14 - }, - { - "name": "completed_first_order_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the visitor completes their first order during this session. Contains NULL if the visitor never completes an order during this session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 15 - }, - { - "name": "hit_first_checkout_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the visitor first visits the checkout page during this session. Contains NULL if the visitor never visits the checkout page during the session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 16 - }, - { - "name": "started_first_checkout_at", - "dataType": "TIMESTAMP", - "description": "The date (ISO 8601) and time (UTC) when the visitor first starts entering their information into the checkout fields. Contains NULL if the visitor never enters their information during the session. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).", - "tags": null, - "ordinalPosition": 17 - }, - { - "name": "count_of_cart_additions", - "dataType": "NUMERIC", - "description": "The number of items added to the cart during the session. For example, if a customer adds 5 t-shirts and 1 lipstick to their cart, and then removes one of the t-shirts, then the value in this column is 6.", - "tags": null, - "ordinalPosition": 18 - }, - { - "name": "count_of_distinct_products_added_to_cart", - "dataType": "NUMERIC", - "description": "The number of distinct products added to the cart during the session. For example, if a customer adds 5 t-shirts and 1 lipstick are added to the cart, then the value in this column is 2.", - "tags": null, - "ordinalPosition": 19 - }, - { - "name": "count_of_distinct_product_variants_added_to_cart", - "dataType": "NUMERIC", - "description": "The number of distinct product variants added to the cart during the session. For example, if a customer adds 2 small and 3 large t-shirts and 1 lipstick to the cart, then the value in this column is 3.", - "tags": null, - "ordinalPosition": 20 - }, - { - "name": "had_error", - "dataType": "BOOLEAN", - "description": "True when an an error appears during the checkout that is not a payment error, False otherwise.", - "tags": null, - "ordinalPosition": 21 - }, - { - "name": "had_payment_error", - "dataType": "BOOLEAN", - "description": "True when a payment error occurs during the checkout, False otherwise.", - "tags": null, - "ordinalPosition": 22 - }, - { - "name": "had_out_of_stock_warning", - "dataType": "BOOLEAN", - "description": "True when an out-of-stock warning appears on the checkout page, False otherwise.", - "tags": null, - "ordinalPosition": 23 - }, - { - "name": "had_credit_card_info_error", - "dataType": "BOOLEAN", - "description": "True when a payment error occurs because of a credit card error, False otherwise.", - "tags": null, - "ordinalPosition": 24 - }, - { - "name": "had_discount", - "dataType": "BOOLEAN", - "description": "True when a checkout error occurs because of a discount error, False otherwise.", - "tags": null, - "ordinalPosition": 25 - }, - { - "name": "had_free_shipping", - "dataType": "BOOLEAN", - "description": "True when the order has no shipping cost, False otherwise.", - "tags": null, - "ordinalPosition": 26 - }, - { - "name": "location_city", - "dataType": "VARCHAR", - "description": "The name of the city where the visitor is located. For example, Topeka.", - "tags": null, - "ordinalPosition": 27, - "dataLength": 100 - }, - { - "name": "location_region", - "dataType": "VARCHAR", - "description": "The name of the region, such as a province or state, where the visitor is located. For example, Kansas.", - "tags": null, - "ordinalPosition": 28, - "dataLength": 100 - }, - { - "name": "location_region_code", - "dataType": "VARCHAR", - "description": "The code for the region, such as a province or state, where the visitor is located. For example, KS.", - "tags": null, - "ordinalPosition": 29, - "dataLength": 200 - }, - { - "name": "location_country", - "dataType": "VARCHAR", - "description": "The name of the country where the visitor is located. For example, United States.", - "tags": null, - "ordinalPosition": 30, - "dataLength": 100 - }, - { - "name": "location_country_code", - "dataType": "VARCHAR", - "description": "The two-digit ISO country code where the visitor is located. For example, US.", - "tags": null, - "ordinalPosition": 31, - "dataLength": 100 - } - ], - "tableProfile": [ - { - "profileDate": "2021-10-12", - "columnCount": 31, - "rowCount": 169, - "columnProfile": [ - { - "name": "derived_session_token", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 12, - "nullProportion": 0.5051158739 - }, - { - "name": "shop_id", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 20, - "nullProportion": 0.4392737435 - }, - { - "name": "session_duration", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 46, - "nullProportion": 0.211333415 - }, - { - "name": "count_of_pageviews", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 41, - "nullProportion": 0.523845794 - }, - { - "name": "session_started_at", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 9, - "nullProportion": 0.5035239596 - }, - { - "name": "session_token", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 42, - "nullProportion": 0.2339934101 - }, - { - "name": "user_token", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 7, - "nullProportion": 0.3713034 - }, - { - "name": "landing_page_url", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 8, - "nullProportion": 0.4928660268 - }, - { - "name": "exit_page_path", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 8, - "nullProportion": 0.1182713053 - }, - { - "name": "exit_page_url", - "uniqueCount": 0, - "uniqueProportion": 0, - "nullCount": 35, - "nullProportion": 0.3816858866 - }, - { - "name": "referrer_tld", - "uniqueCount": 32, - "uniqueProportion": 0.4110863218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_browser", - "uniqueCount": 15, - "uniqueProportion": 0.1368357218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_raw", - "uniqueCount": 34, - "uniqueProportion": 0.6528436015, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_orders_completed", - "uniqueCount": 47, - "uniqueProportion": 0.2185756809, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "completed_first_order_at", - "uniqueCount": 10, - "uniqueProportion": 0.536535383, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "hit_first_checkout_at", - "uniqueCount": 22, - "uniqueProportion": 0.5537655182, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "started_first_checkout_at", - "uniqueCount": 19, - "uniqueProportion": 0.519391001, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_products_added_to_cart", - "uniqueCount": 35, - "uniqueProportion": 0.2591610934, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_product_variants_added_to_cart", - "uniqueCount": 23, - "uniqueProportion": 0.5388931626, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_error", - "uniqueCount": 22, - "uniqueProportion": 0.67035295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_payment_error", - "uniqueCount": 36, - "uniqueProportion": 0.2429327282, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_out_of_stock_warning", - "uniqueCount": 43, - "uniqueProportion": 0.298778278, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_credit_card_info_error", - "uniqueCount": 10, - "uniqueProportion": 0.313471376, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_discount", - "uniqueCount": 14, - "uniqueProportion": 0.2123758734, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_free_shipping", - "uniqueCount": 5, - "uniqueProportion": 0.1133450776, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_city", - "uniqueCount": 47, - "uniqueProportion": 0.559404346, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region", - "uniqueCount": 47, - "uniqueProportion": 0.3787454124, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region_code", - "uniqueCount": 36, - "uniqueProportion": 0.6354123098, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country_code", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-13", - "columnCount": 31, - "rowCount": 169, - "columnProfile": [ - { - "name": "derived_session_token", - "uniqueCount": 6, - "uniqueProportion": 0.5743524436, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 50, - "uniqueProportion": 0.6085937123, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_duration", - "uniqueCount": 33, - "uniqueProportion": 0.1216335522, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_pageviews", - "uniqueCount": 7, - "uniqueProportion": 0.4860854512, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_started_at", - "uniqueCount": 11, - "uniqueProportion": 0.2709761857, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_token", - "uniqueCount": 45, - "uniqueProportion": 0.6521664, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_token", - "uniqueCount": 7, - "uniqueProportion": 0.65104552, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "landing_page_url", - "uniqueCount": 3, - "uniqueProportion": 0.2576120378, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_path", - "uniqueCount": 41, - "uniqueProportion": 0.4945043017, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_url", - "uniqueCount": 2, - "uniqueProportion": 0.5011627434, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "referrer_tld", - "uniqueCount": 44, - "uniqueProportion": 0.542212894, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_browser", - "uniqueCount": 28, - "uniqueProportion": 0.34878114, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_raw", - "uniqueCount": 44, - "uniqueProportion": 0.4879537976, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_orders_completed", - "uniqueCount": 27, - "uniqueProportion": 0.4609134841, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "completed_first_order_at", - "uniqueCount": 22, - "uniqueProportion": 0.1257138318, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "hit_first_checkout_at", - "uniqueCount": 45, - "uniqueProportion": 0.2320211758, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "started_first_checkout_at", - "uniqueCount": 37, - "uniqueProportion": 0.554473982, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_products_added_to_cart", - "uniqueCount": 22, - "uniqueProportion": 0.2061011165, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_product_variants_added_to_cart", - "uniqueCount": 40, - "uniqueProportion": 0.2329718096, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_error", - "uniqueCount": 26, - "uniqueProportion": 0.3342512759, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_payment_error", - "uniqueCount": 15, - "uniqueProportion": 0.636461656, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_out_of_stock_warning", - "uniqueCount": 48, - "uniqueProportion": 0.3903644928, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_credit_card_info_error", - "uniqueCount": 24, - "uniqueProportion": 0.2869745093, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_discount", - "uniqueCount": 15, - "uniqueProportion": 0.3816119087, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_free_shipping", - "uniqueCount": 20, - "uniqueProportion": 0.21255889, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_city", - "uniqueCount": 22, - "uniqueProportion": 0.2773134541, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region", - "uniqueCount": 12, - "uniqueProportion": 0.5725251922, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region_code", - "uniqueCount": 20, - "uniqueProportion": 0.5881850772, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country_code", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-14", - "columnCount": 31, - "rowCount": 169, - "columnProfile": [ - { - "name": "derived_session_token", - "uniqueCount": 36, - "uniqueProportion": 0.336195998, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 28, - "uniqueProportion": 0.4739714916, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_duration", - "uniqueCount": 19, - "uniqueProportion": 0.5744817038, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_pageviews", - "uniqueCount": 46, - "uniqueProportion": 0.2788957693, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_started_at", - "uniqueCount": 45, - "uniqueProportion": 0.937251, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_token", - "uniqueCount": 41, - "uniqueProportion": 0.2810435177, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_token", - "uniqueCount": 2, - "uniqueProportion": 0.2593465018, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "landing_page_url", - "uniqueCount": 4, - "uniqueProportion": 0.3510410083, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_path", - "uniqueCount": 39, - "uniqueProportion": 0.2894960005, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_url", - "uniqueCount": 7, - "uniqueProportion": 0.2547630752, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "referrer_tld", - "uniqueCount": 32, - "uniqueProportion": 0.4110863218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_browser", - "uniqueCount": 15, - "uniqueProportion": 0.1368357218, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_raw", - "uniqueCount": 34, - "uniqueProportion": 0.6528436015, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_orders_completed", - "uniqueCount": 47, - "uniqueProportion": 0.2185756809, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "completed_first_order_at", - "uniqueCount": 10, - "uniqueProportion": 0.536535383, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "hit_first_checkout_at", - "uniqueCount": 22, - "uniqueProportion": 0.5537655182, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "started_first_checkout_at", - "uniqueCount": 19, - "uniqueProportion": 0.519391001, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_products_added_to_cart", - "uniqueCount": 35, - "uniqueProportion": 0.2591610934, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_product_variants_added_to_cart", - "uniqueCount": 23, - "uniqueProportion": 0.5388931626, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_error", - "uniqueCount": 22, - "uniqueProportion": 0.67035295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_payment_error", - "uniqueCount": 36, - "uniqueProportion": 0.2429327282, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_out_of_stock_warning", - "uniqueCount": 43, - "uniqueProportion": 0.298778278, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_credit_card_info_error", - "uniqueCount": 10, - "uniqueProportion": 0.313471376, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_discount", - "uniqueCount": 14, - "uniqueProportion": 0.2123758734, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_free_shipping", - "uniqueCount": 5, - "uniqueProportion": 0.1133450776, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_city", - "uniqueCount": 47, - "uniqueProportion": 0.559404346, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region", - "uniqueCount": 47, - "uniqueProportion": 0.3787454124, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region_code", - "uniqueCount": 36, - "uniqueProportion": 0.6354123098, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country_code", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-15", - "columnCount": 31, - "rowCount": 169, - "columnProfile": [ - { - "name": "derived_session_token", - "uniqueCount": 4, - "uniqueProportion": 0.4183210675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 29, - "uniqueProportion": 0.119225249, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_duration", - "uniqueCount": 41, - "uniqueProportion": 0.1217252894, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_pageviews", - "uniqueCount": 31, - "uniqueProportion": 0.2646313743, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_started_at", - "uniqueCount": 14, - "uniqueProportion": 0.6232851174, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_token", - "uniqueCount": 45, - "uniqueProportion": 0.6065123498, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_token", - "uniqueCount":7, - "uniqueProportion": 0.5597331188, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "landing_page_url", - "uniqueCount": 0, - "uniqueProportion": 0.24848206, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_path", - "uniqueCount": 22, - "uniqueProportion": 0.4650916037, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_url", - "uniqueCount": 6, - "uniqueProportion": 0.2610128633, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "referrer_tld", - "uniqueCount": 40, - "uniqueProportion": 0.4377761525, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_browser", - "uniqueCount": 16, - "uniqueProportion": 0.5155847099, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_raw", - "uniqueCount": 30, - "uniqueProportion": 0.543161414, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_orders_completed", - "uniqueCount": 24, - "uniqueProportion": 0.31008394, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "completed_first_order_at", - "uniqueCount": 48, - "uniqueProportion": 0.4433839684, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "hit_first_checkout_at", - "uniqueCount": 38, - "uniqueProportion": 0.4677442675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "started_first_checkout_at", - "uniqueCount": 22, - "uniqueProportion": 0.5428334295, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_products_added_to_cart", - "uniqueCount": 36, - "uniqueProportion": 0.2237347631, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_product_variants_added_to_cart", - "uniqueCount": 33, - "uniqueProportion": 0.6154536097, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_error", - "uniqueCount": 49, - "uniqueProportion": 0.3830947963, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_payment_error", - "uniqueCount": 21, - "uniqueProportion": 0.5591015673, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_out_of_stock_warning", - "uniqueCount": 36, - "uniqueProportion": 0.2337815644, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_credit_card_info_error", - "uniqueCount": 13, - "uniqueProportion": 0.5565825944, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_discount", - "uniqueCount": 48, - "uniqueProportion": 0.3505349173, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_free_shipping", - "uniqueCount": 1, - "uniqueProportion": 0.1188236769, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_city", - "uniqueCount": 19, - "uniqueProportion": 0.2701732882, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region", - "uniqueCount": 36, - "uniqueProportion": 0.588168791, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region_code", - "uniqueCount": 48, - "uniqueProportion": 0.4528911076, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country_code", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - }, - { - "profileDate": "2021-10-16", - "columnCount": 31, - "rowCount": 169, - "columnProfile": [ - { - "name": "derived_session_token", - "uniqueCount": 46, - "uniqueProportion": 0.4556834255, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "shop_id", - "uniqueCount": 36, - "uniqueProportion": 0.412740311, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_duration", - "uniqueCount": 9, - "uniqueProportion": 0.4848320849, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_pageviews", - "uniqueCount": 16, - "uniqueProportion": 0.274374675, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_started_at", - "uniqueCount": 19, - "uniqueProportion": 0.1779729031, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "session_token", - "uniqueCount": 5, - "uniqueProportion": 0.403198425, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "user_token", - "uniqueCount": 1, - "uniqueProportion": 0.5763257885, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "landing_page_url", - "uniqueCount": 1, - "uniqueProportion": 0.271483578, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_path", - "uniqueCount": 18, - "uniqueProportion": 0.54392552, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "exit_page_url", - "uniqueCount": 8, - "uniqueProportion": 0.457357716, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "referrer_tld", - "uniqueCount": 47, - "uniqueProportion": 0.1455819185, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_browser", - "uniqueCount": 25, - "uniqueProportion": 0.502421822, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "ua_raw", - "uniqueCount": 10, - "uniqueProportion": 0.4514540014, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_orders_completed", - "uniqueCount": 5, - "uniqueProportion": 0.643516191, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "completed_first_order_at", - "uniqueCount": 37, - "uniqueProportion": 0.1991445491, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "hit_first_checkout_at", - "uniqueCount": 23, - "uniqueProportion": 0.3934633215, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "started_first_checkout_at", - "uniqueCount": 10, - "uniqueProportion": 0.521182903, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_products_added_to_cart", - "uniqueCount": 41, - "uniqueProportion": 0.577276297, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "count_of_distinct_product_variants_added_to_cart", - "uniqueCount": 15, - "uniqueProportion": 0.1038962515, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_error", - "uniqueCount": 24, - "uniqueProportion": 0.4806029226, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_payment_error", - "uniqueCount": 23, - "uniqueProportion": 0.285063012, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_out_of_stock_warning", - "uniqueCount": 4, - "uniqueProportion": 0.502737667, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_credit_card_info_error", - "uniqueCount": 4, - "uniqueProportion": 0.424923401, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_discount", - "uniqueCount": 39, - "uniqueProportion": 0.1127764811, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "had_free_shipping", - "uniqueCount": 35, - "uniqueProportion": 0.5043061999, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_city", - "uniqueCount": 32, - "uniqueProportion": 0.370361415, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region", - "uniqueCount": 47, - "uniqueProportion": 0.983529122, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_region_code", - "uniqueCount": 38, - "uniqueProportion": 0.1136043573, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - }, - { - "name": "location_country_code", - "uniqueCount": 29, - "uniqueProportion": 0.0639865, - "nullCount": 0, - "nullProportion": 0 - } - ] - } - ], - "database": { - "id": "89229e26-7f74-4443-a568-85512eaeaa07", - "type": "database" - }, - "tags": null, - "joins": null + ] + } } ] } diff --git a/ingestion/ingestion_dependency.sh b/ingestion/ingestion_dependency.sh index a8d3f60b701..9e0f778a9d9 100755 --- a/ingestion/ingestion_dependency.sh +++ b/ingestion/ingestion_dependency.sh @@ -26,6 +26,6 @@ airflow users create \ --password admin airflow db upgrade (while ! wget -O /dev/null -o /dev/null http://ingestion:8080; do sleep 5; done; sleep 5; curl -u admin:admin --data '{"dag_run_id":"sample_data_1"}' -H "Content-type: application/json" -X POST http://ingestion:8080/api/v1/dags/sample_data/dagRuns) & -(while ! wget -O /dev/null -o /dev/null http://localhost:8585/api/v1/tables/name/bigquery.shopify.fact_sale; do sleep 5; done; sleep 6; curl -u admin:admin --data '{"dag_run_id":"sample_usage_1"}' -H "Content-type: application/json" -X POST http://ingestion:8080/api/v1/dags/sample_usage/dagRuns) & -(while ! wget -O /dev/null -o /dev/null http://localhost:8585/api/v1/tables/name/bigquery.shopify.fact_sale; do sleep 5; done; sleep 7; curl -u admin:admin --data '{"dag_run_id":"index_metadata_1"}' -H "Content-type: application/json" -X POST http://ingestion:8080/api/v1/dags/index_metadata/dagRuns) & +(while ! wget -O /dev/null -o /dev/null http://openmetadata-server:8585/api/v1/tables/name/bigquery_gcp.shopify.fact_sale; do sleep 5; done; sleep 6; curl -u admin:admin --data '{"dag_run_id":"sample_usage_1"}' -H "Content-type: application/json" -X POST http://ingestion:8080/api/v1/dags/sample_usage/dagRuns) & +(while ! wget -O /dev/null -o /dev/null http://openmetadata-server:8585/api/v1/tables/name/bigquery_gcp.shopify.fact_sale; do sleep 5; done; sleep 7; curl -u admin:admin --data '{"dag_run_id":"index_metadata_1"}' -H "Content-type: application/json" -X POST http://ingestion:8080/api/v1/dags/index_metadata/dagRuns) & airflow standalone \ No newline at end of file diff --git a/ingestion/pipelines/sample_usage.json b/ingestion/pipelines/sample_usage.json index cc98bd45b48..d6b1d815c7f 100644 --- a/ingestion/pipelines/sample_usage.json +++ b/ingestion/pipelines/sample_usage.json @@ -3,7 +3,7 @@ "type": "sample-usage", "config": { "database": "warehouse", - "service_name": "gcp_bigquery", + "service_name": "bigquery_gcp", "sample_data_folder": "./examples/sample_data" } }, diff --git a/ingestion/src/metadata/cmd.py b/ingestion/src/metadata/cmd.py index bccb681ef41..536b8ffccb5 100644 --- a/ingestion/src/metadata/cmd.py +++ b/ingestion/src/metadata/cmd.py @@ -223,7 +223,7 @@ def docker(start, stop, clean, type, path) -> None: ometa_client = OpenMetadata(metadata_config).client while True: try: - ometa_client.get(f"/tables/name/bigquery.shopify.dim_customer") + ometa_client.get(f"/tables/name/bigquery_gcp.shopify.dim_customer") break except Exception as err: sys.stdout.write(".")