tdoehmen's picture
added duckdb-nsql benchmark setup
b247dc4
raw
history blame
68.2 kB
[
{
"db_id": "hn",
"column_names": [
[
-1,
"*"
],
[
0,
"title"
],
[
0,
"url"
],
[
0,
"text"
],
[
0,
"dead"
],
[
0,
"by"
],
[
0,
"score"
],
[
0,
"time"
],
[
0,
"timestamp"
],
[
0,
"type"
],
[
0,
"id"
],
[
0,
"parent"
],
[
0,
"descendants"
],
[
0,
"ranking"
],
[
0,
"deleted"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"title"
],
[
0,
"url"
],
[
0,
"text"
],
[
0,
"dead"
],
[
0,
"by"
],
[
0,
"score"
],
[
0,
"time"
],
[
0,
"timestamp"
],
[
0,
"type"
],
[
0,
"id"
],
[
0,
"parent"
],
[
0,
"descendants"
],
[
0,
"ranking"
],
[
0,
"deleted"
]
],
"column_types": [
"text",
"varchar",
"varchar",
"varchar",
"boolean",
"varchar",
"bigint",
"bigint",
"timestamp",
"varchar",
"bigint",
"bigint",
"bigint",
"bigint",
"boolean"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"hacker_news"
],
"table_names_original": [
"hacker_news"
]
},
{
"db_id": "laptop",
"column_names": [
[
-1,
"*"
],
[
0,
"customer_id"
],
[
0,
"firstname"
],
[
0,
"lastname"
],
[
0,
"city"
],
[
0,
"address"
],
[
0,
"email"
],
[
1,
"model"
],
[
1,
"speed"
],
[
1,
"ram"
],
[
1,
"hd"
],
[
1,
"screen"
],
[
1,
"price"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"color"
],
[
3,
"type"
],
[
3,
"price"
],
[
4,
"maker"
],
[
4,
"model"
],
[
4,
"type"
],
[
5,
"customer_id"
],
[
5,
"model"
],
[
5,
"quantity"
],
[
5,
"day"
],
[
5,
"paid"
],
[
5,
"type_of_payment"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"customer_id"
],
[
0,
"firstname"
],
[
0,
"lastname"
],
[
0,
"city"
],
[
0,
"address"
],
[
0,
"email"
],
[
1,
"model"
],
[
1,
"speed"
],
[
1,
"ram"
],
[
1,
"hd"
],
[
1,
"screen"
],
[
1,
"price"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"color"
],
[
3,
"type"
],
[
3,
"price"
],
[
4,
"maker"
],
[
4,
"model"
],
[
4,
"type"
],
[
5,
"customer_id"
],
[
5,
"model"
],
[
5,
"quantity"
],
[
5,
"day"
],
[
5,
"paid"
],
[
5,
"type_of_payment"
]
],
"column_types": [
"text",
"char",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"char",
"double",
"int",
"int",
"double",
"double",
"char",
"double",
"int",
"int",
"double",
"char",
"varchar",
"varchar",
"double",
"char",
"char",
"varchar",
"char",
"char",
"int",
"date",
"double",
"varchar"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
],
"table_names_original": [
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
]
},
{
"db_id": "transactions",
"column_names": [
[
-1,
"*"
],
[
0,
"id"
],
[
0,
"name"
],
[
1,
"user_id"
],
[
1,
"amount"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"id"
],
[
0,
"name"
],
[
1,
"user_id"
],
[
1,
"amount"
]
],
"column_types": [
"text",
"int",
"varchar",
"int",
"int"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"users",
"transactions"
],
"table_names_original": [
"users",
"transactions"
]
},
{
"db_id": "who",
"column_names": [
[
-1,
"*"
],
[
0,
"who_region"
],
[
0,
"iso3"
],
[
0,
"country_name"
],
[
0,
"city"
],
[
0,
"year"
],
[
0,
"version"
],
[
0,
"pm10_concentration"
],
[
0,
"pm25_concentration"
],
[
0,
"no2_concentration"
],
[
0,
"pm10_tempcov"
],
[
0,
"pm25_tempcov"
],
[
0,
"no2_tempcov"
],
[
0,
"type_of_stations"
],
[
0,
"reference"
],
[
0,
"web_link"
],
[
0,
"population"
],
[
0,
"population_source"
],
[
0,
"latitude"
],
[
0,
"longitude"
],
[
0,
"who_ms"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"who_region"
],
[
0,
"iso3"
],
[
0,
"country_name"
],
[
0,
"city"
],
[
0,
"year"
],
[
0,
"version"
],
[
0,
"pm10_concentration"
],
[
0,
"pm25_concentration"
],
[
0,
"no2_concentration"
],
[
0,
"pm10_tempcov"
],
[
0,
"pm25_tempcov"
],
[
0,
"no2_tempcov"
],
[
0,
"type_of_stations"
],
[
0,
"reference"
],
[
0,
"web_link"
],
[
0,
"population"
],
[
0,
"population_source"
],
[
0,
"latitude"
],
[
0,
"longitude"
],
[
0,
"who_ms"
]
],
"column_types": [
"text",
"varchar",
"varchar",
"varchar",
"varchar",
"bigint",
"varchar",
"bigint",
"bigint",
"bigint",
"bigint",
"bigint",
"bigint",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"float",
"float",
"bigint"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"ambient_air_quality"
],
"table_names_original": [
"ambient_air_quality"
]
},
{
"db_id": "nyc",
"column_names": [
[
-1,
"*"
],
[
0,
"unique_key"
],
[
0,
"created_date"
],
[
0,
"closed_date"
],
[
0,
"agency"
],
[
0,
"agency_name"
],
[
0,
"complaint_type"
],
[
0,
"descriptor"
],
[
0,
"location_type"
],
[
0,
"incident_zip"
],
[
0,
"incident_address"
],
[
0,
"street_name"
],
[
0,
"cross_street_1"
],
[
0,
"cross_street_2"
],
[
0,
"intersection_street_1"
],
[
0,
"intersection_street_2"
],
[
0,
"address_type"
],
[
0,
"city"
],
[
0,
"landmark"
],
[
0,
"facility_type"
],
[
0,
"status"
],
[
0,
"due_date"
],
[
0,
"resolution_description"
],
[
0,
"resolution_action_updated_date"
],
[
0,
"community_board"
],
[
0,
"bbl"
],
[
0,
"borough"
],
[
0,
"x_coordinate_state_plane"
],
[
0,
"y_coordinate_state_plane"
],
[
0,
"open_data_channel_type"
],
[
0,
"park_facility_name"
],
[
0,
"park_borough"
],
[
0,
"vehicle_type"
],
[
0,
"taxi_company_borough"
],
[
0,
"taxi_pick_up_location"
],
[
0,
"bridge_highway_name"
],
[
0,
"bridge_highway_direction"
],
[
0,
"road_ramp"
],
[
0,
"bridge_highway_segment"
],
[
0,
"latitude"
],
[
0,
"longitude"
],
[
1,
"hvfhs_license_num"
],
[
1,
"dispatching_base_num"
],
[
1,
"originating_base_num"
],
[
1,
"request_datetime"
],
[
1,
"on_scene_datetime"
],
[
1,
"pickup_datetime"
],
[
1,
"dropoff_datetime"
],
[
1,
"PULocationID"
],
[
1,
"DOLocationID"
],
[
1,
"trip_miles"
],
[
1,
"trip_time"
],
[
1,
"base_passenger_fare"
],
[
1,
"tolls"
],
[
1,
"bcf"
],
[
1,
"sales_tax"
],
[
1,
"congestion_surcharge"
],
[
1,
"airport_fee"
],
[
1,
"tips"
],
[
1,
"driver_pay"
],
[
1,
"shared_request_flag"
],
[
1,
"shared_match_flag"
],
[
1,
"access_a_ride_flag"
],
[
1,
"wav_request_flag"
],
[
1,
"wav_match_flag"
],
[
2,
"VendorID"
],
[
2,
"tpep_pickup_datetime"
],
[
2,
"tpep_dropoff_datetime"
],
[
2,
"passenger_count"
],
[
2,
"trip_distance"
],
[
2,
"RatecodeID"
],
[
2,
"store_and_fwd_flag"
],
[
2,
"PULocationID"
],
[
2,
"DOLocationID"
],
[
2,
"payment_type"
],
[
2,
"fare_amount"
],
[
2,
"extra"
],
[
2,
"mta_tax"
],
[
2,
"tip_amount"
],
[
2,
"tolls_amount"
],
[
2,
"improvement_surcharge"
],
[
2,
"total_amount"
],
[
2,
"congestion_surcharge"
],
[
2,
"airport_fee"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"unique_key"
],
[
0,
"created_date"
],
[
0,
"closed_date"
],
[
0,
"agency"
],
[
0,
"agency_name"
],
[
0,
"complaint_type"
],
[
0,
"descriptor"
],
[
0,
"location_type"
],
[
0,
"incident_zip"
],
[
0,
"incident_address"
],
[
0,
"street_name"
],
[
0,
"cross_street_1"
],
[
0,
"cross_street_2"
],
[
0,
"intersection_street_1"
],
[
0,
"intersection_street_2"
],
[
0,
"address_type"
],
[
0,
"city"
],
[
0,
"landmark"
],
[
0,
"facility_type"
],
[
0,
"status"
],
[
0,
"due_date"
],
[
0,
"resolution_description"
],
[
0,
"resolution_action_updated_date"
],
[
0,
"community_board"
],
[
0,
"bbl"
],
[
0,
"borough"
],
[
0,
"x_coordinate_state_plane"
],
[
0,
"y_coordinate_state_plane"
],
[
0,
"open_data_channel_type"
],
[
0,
"park_facility_name"
],
[
0,
"park_borough"
],
[
0,
"vehicle_type"
],
[
0,
"taxi_company_borough"
],
[
0,
"taxi_pick_up_location"
],
[
0,
"bridge_highway_name"
],
[
0,
"bridge_highway_direction"
],
[
0,
"road_ramp"
],
[
0,
"bridge_highway_segment"
],
[
0,
"latitude"
],
[
0,
"longitude"
],
[
1,
"hvfhs_license_num"
],
[
1,
"dispatching_base_num"
],
[
1,
"originating_base_num"
],
[
1,
"request_datetime"
],
[
1,
"on_scene_datetime"
],
[
1,
"pickup_datetime"
],
[
1,
"dropoff_datetime"
],
[
1,
"PULocationID"
],
[
1,
"DOLocationID"
],
[
1,
"trip_miles"
],
[
1,
"trip_time"
],
[
1,
"base_passenger_fare"
],
[
1,
"tolls"
],
[
1,
"bcf"
],
[
1,
"sales_tax"
],
[
1,
"congestion_surcharge"
],
[
1,
"airport_fee"
],
[
1,
"tips"
],
[
1,
"driver_pay"
],
[
1,
"shared_request_flag"
],
[
1,
"shared_match_flag"
],
[
1,
"access_a_ride_flag"
],
[
1,
"wav_request_flag"
],
[
1,
"wav_match_flag"
],
[
2,
"VendorID"
],
[
2,
"tpep_pickup_datetime"
],
[
2,
"tpep_dropoff_datetime"
],
[
2,
"passenger_count"
],
[
2,
"trip_distance"
],
[
2,
"RatecodeID"
],
[
2,
"store_and_fwd_flag"
],
[
2,
"PULocationID"
],
[
2,
"DOLocationID"
],
[
2,
"payment_type"
],
[
2,
"fare_amount"
],
[
2,
"extra"
],
[
2,
"mta_tax"
],
[
2,
"tip_amount"
],
[
2,
"tolls_amount"
],
[
2,
"improvement_surcharge"
],
[
2,
"total_amount"
],
[
2,
"congestion_surcharge"
],
[
2,
"airport_fee"
]
],
"column_types": [
"text",
"bigint",
"timestamp",
"timestamp",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"timestamp",
"varchar",
"timestamp",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"double",
"double",
"varchar",
"varchar",
"varchar",
"timestamp",
"timestamp",
"timestamp",
"timestamp",
"bigint",
"bigint",
"double",
"bigint",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"bigint",
"timestamp",
"timestamp",
"double",
"double",
"double",
"varchar",
"bigint",
"bigint",
"bigint",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"double"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"service_requests",
"rideshare",
"taxi"
],
"table_names_original": [
"service_requests",
"rideshare",
"taxi"
]
},
{
"db_id": "product",
"column_names": [
[
-1,
"*"
],
[
0,
"maker"
],
[
0,
"model"
],
[
0,
"type"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"maker"
],
[
0,
"model"
],
[
0,
"type"
]
],
"column_types": [
"text",
"varchar",
"varchar",
"varchar"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"products"
],
"table_names_original": [
"products"
]
},
{
"db_id": "json",
"column_names": [
[
-1,
"*"
],
[
0,
"employee"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"employee"
]
],
"column_types": [
"text",
"struct(id int, first_name text, last_name text, email text)"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"employee_json"
],
"table_names_original": [
"employee_json"
]
},
{
"db_id": "flightinfo",
"column_names": [
[
-1,
"*"
],
[
0,
"icao_code"
],
[
0,
"email"
],
[
0,
"name"
],
[
0,
"phone_number"
],
[
0,
"iata_code"
],
[
1,
"title"
],
[
1,
"description"
],
[
1,
"price"
],
[
1,
"service_type"
],
[
1,
"airline_icao_code"
],
[
2,
"iata_code"
],
[
2,
"address"
],
[
2,
"name"
],
[
2,
"phone_number"
],
[
2,
"email"
],
[
2,
"city_zip_code"
],
[
2,
"city_dbpedia"
],
[
3,
"title"
],
[
3,
"cabin_bag_dimension_cm"
],
[
3,
"cabin_bags_no"
],
[
3,
"cabin_bg_weight_kg"
],
[
3,
"checked_bag_dimension_cm"
],
[
3,
"checked_bags_no"
],
[
3,
"checked_bag_weight_kg"
],
[
3,
"excessive_price_perkg"
],
[
3,
"flight_type"
],
[
3,
"airline_icao_code"
],
[
4,
"title"
],
[
4,
"description"
],
[
4,
"airline_icao_code"
],
[
5,
"title"
],
[
5,
"description"
],
[
5,
"due_date"
],
[
5,
"refund_postdue_percentage"
],
[
5,
"refund_predue_percentage"
],
[
5,
"airline_icao_code"
],
[
6,
"city_zipcode"
],
[
6,
"city_name"
],
[
6,
"country_iso_code"
],
[
7,
"country_iso_code"
],
[
7,
"country_name"
],
[
8,
"flight_number"
],
[
8,
"departure_airport_iata_code"
],
[
8,
"arriving_airport_iata_code"
],
[
9,
"number"
],
[
9,
"departure_date"
],
[
9,
"arrival_date"
],
[
9,
"distance_km"
],
[
9,
"is_available"
],
[
9,
"duration_min"
],
[
9,
"airline_icao_code"
],
[
9,
"type"
],
[
10,
"title"
],
[
10,
"description"
],
[
10,
"cabin_class_title"
],
[
10,
"baggage_policy_title"
],
[
10,
"cancelation_policy_title"
],
[
11,
"subflight_number"
],
[
11,
"flight_number"
],
[
12,
"flight_package_title"
],
[
12,
"airline_service_title"
],
[
13,
"seat_number"
],
[
13,
"is_available"
],
[
13,
"flight_number"
],
[
14,
"meal_type"
],
[
14,
"airline_service_title"
],
[
15,
"duration_min"
],
[
15,
"duration_from"
],
[
15,
"duration_to"
],
[
15,
"airport_iatacode"
],
[
15,
"flight_number"
],
[
16,
"flight_number"
],
[
16,
"package_title"
],
[
16,
"trip_id"
],
[
16,
"requested_excessive_baggage_kg"
],
[
16,
"seat_number"
],
[
16,
"chosen_meal_service_price"
],
[
16,
"chosen_wifi_service_price"
],
[
16,
"price"
],
[
17,
"id"
],
[
17,
"tax"
],
[
17,
"booking_date"
],
[
17,
"user_email"
],
[
17,
"type"
],
[
18,
"email"
],
[
18,
"first_name"
],
[
18,
"last_name"
],
[
18,
"birthdate"
],
[
18,
"passport_number"
],
[
18,
"address"
],
[
18,
"password"
],
[
18,
"phone_number"
],
[
19,
"wifi_onboard_service_bandwidth_MB"
],
[
19,
"airline_service_title"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"icao_code"
],
[
0,
"email"
],
[
0,
"name"
],
[
0,
"phone_number"
],
[
0,
"iata_code"
],
[
1,
"title"
],
[
1,
"description"
],
[
1,
"price"
],
[
1,
"service_type"
],
[
1,
"airline_icao_code"
],
[
2,
"iata_code"
],
[
2,
"address"
],
[
2,
"name"
],
[
2,
"phone_number"
],
[
2,
"email"
],
[
2,
"city_zip_code"
],
[
2,
"city_dbpedia"
],
[
3,
"title"
],
[
3,
"cabin_bag_dimension_cm"
],
[
3,
"cabin_bags_no"
],
[
3,
"cabin_bg_weight_kg"
],
[
3,
"checked_bag_dimension_cm"
],
[
3,
"checked_bags_no"
],
[
3,
"checked_bag_weight_kg"
],
[
3,
"excessive_price_perkg"
],
[
3,
"flight_type"
],
[
3,
"airline_icao_code"
],
[
4,
"title"
],
[
4,
"description"
],
[
4,
"airline_icao_code"
],
[
5,
"title"
],
[
5,
"description"
],
[
5,
"due_date"
],
[
5,
"refund_postdue_percentage"
],
[
5,
"refund_predue_percentage"
],
[
5,
"airline_icao_code"
],
[
6,
"city_zipcode"
],
[
6,
"city_name"
],
[
6,
"country_iso_code"
],
[
7,
"country_iso_code"
],
[
7,
"country_name"
],
[
8,
"flight_number"
],
[
8,
"departure_airport_iata_code"
],
[
8,
"arriving_airport_iata_code"
],
[
9,
"number"
],
[
9,
"departure_date"
],
[
9,
"arrival_date"
],
[
9,
"distance_km"
],
[
9,
"is_available"
],
[
9,
"duration_min"
],
[
9,
"airline_icao_code"
],
[
9,
"type"
],
[
10,
"title"
],
[
10,
"description"
],
[
10,
"cabin_class_title"
],
[
10,
"baggage_policy_title"
],
[
10,
"cancelation_policy_title"
],
[
11,
"subflight_number"
],
[
11,
"flight_number"
],
[
12,
"flight_package_title"
],
[
12,
"airline_service_title"
],
[
13,
"seat_number"
],
[
13,
"is_available"
],
[
13,
"flight_number"
],
[
14,
"meal_type"
],
[
14,
"airline_service_title"
],
[
15,
"duration_min"
],
[
15,
"duration_from"
],
[
15,
"duration_to"
],
[
15,
"airport_iatacode"
],
[
15,
"flight_number"
],
[
16,
"flight_number"
],
[
16,
"package_title"
],
[
16,
"trip_id"
],
[
16,
"requested_excessive_baggage_kg"
],
[
16,
"seat_number"
],
[
16,
"chosen_meal_service_price"
],
[
16,
"chosen_wifi_service_price"
],
[
16,
"price"
],
[
17,
"id"
],
[
17,
"tax"
],
[
17,
"booking_date"
],
[
17,
"user_email"
],
[
17,
"type"
],
[
18,
"email"
],
[
18,
"first_name"
],
[
18,
"last_name"
],
[
18,
"birthdate"
],
[
18,
"passport_number"
],
[
18,
"address"
],
[
18,
"password"
],
[
18,
"phone_number"
],
[
19,
"wifi_onboard_service_bandwidth_MB"
],
[
19,
"airline_service_title"
]
],
"column_types": [
"text",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"double",
"varchar",
"varchar",
"varchar",
"text",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"double",
"double",
"double",
"double",
"double",
"double",
"double",
"varchar",
"varchar",
"varchar",
"text",
"varchar",
"varchar",
"text",
"text",
"int",
"int",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"text",
"varchar",
"varchar",
"varchar",
"varchar",
"datetime",
"datetime",
"double",
"tinyint",
"double",
"varchar",
"varchar",
"varchar",
"text",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"tinyint",
"varchar",
"varchar",
"varchar",
"double",
"datetime",
"datetime",
"varchar",
"varchar",
"varchar",
"varchar",
"int",
"int",
"varchar",
"int",
"int",
"double",
"int",
"double",
"datetime",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"date",
"varchar",
"varchar",
"varchar",
"double",
"double",
"varchar"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"airline",
"airline_service",
"airport",
"baggage_policy",
"cabin_class",
"cancellation_policy",
"city",
"country",
"direct_flight",
"flight",
"flight_package",
"non_direct_flight",
"package_service",
"seat",
"special_meal_type",
"stopping",
"ticke",
"trip",
"user",
"wifi_onboard_service"
],
"table_names_original": [
"airline",
"airline_service",
"airport",
"baggage_policy",
"cabin_class",
"cancellation_policy",
"city",
"country",
"direct_flight",
"flight",
"flight_package",
"non_direct_flight",
"package_service",
"seat",
"special_meal_type",
"stopping",
"ticke",
"trip",
"user",
"wifi_onboard_service"
]
},
{
"db_id": "none",
"column_names": [
[
-1,
"*"
]
],
"column_names_original": [
[
-1,
"*"
]
],
"column_types": [
"text"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [],
"table_names_original": []
},
{
"db_id": "laptop_array",
"column_names": [
[
-1,
"*"
],
[
0,
"customer_id"
],
[
0,
"firstname"
],
[
0,
"lastname"
],
[
0,
"city"
],
[
0,
"address"
],
[
0,
"email"
],
[
0,
"phone_numbers"
],
[
1,
"model"
],
[
1,
"speed"
],
[
1,
"ram"
],
[
1,
"hd"
],
[
1,
"screen"
],
[
1,
"price"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"color"
],
[
3,
"type"
],
[
3,
"price"
],
[
4,
"maker"
],
[
4,
"model"
],
[
4,
"type"
],
[
5,
"customer_id"
],
[
5,
"model"
],
[
5,
"quantity"
],
[
5,
"day"
],
[
5,
"paid"
],
[
5,
"type_of_payment"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"customer_id"
],
[
0,
"firstname"
],
[
0,
"lastname"
],
[
0,
"city"
],
[
0,
"address"
],
[
0,
"email"
],
[
0,
"phone_number"
],
[
1,
"model"
],
[
1,
"speed"
],
[
1,
"ram"
],
[
1,
"hd"
],
[
1,
"screen"
],
[
1,
"price"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"color"
],
[
3,
"type"
],
[
3,
"price"
],
[
4,
"maker"
],
[
4,
"model"
],
[
4,
"type"
],
[
5,
"customer_id"
],
[
5,
"model"
],
[
5,
"quantity"
],
[
5,
"day"
],
[
5,
"paid"
],
[
5,
"type_of_payment"
]
],
"column_types": [
"text",
"char",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"array",
"char",
"double",
"int",
"int",
"double",
"double",
"char",
"double",
"int",
"int",
"double",
"char",
"varchar",
"varchar",
"double",
"char",
"char",
"varchar",
"char",
"char",
"int",
"date",
"double",
"varchar"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
],
"table_names_original": [
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
]
},
{
"db_id": "laptop_struct",
"column_names": [
[
-1,
"*"
],
[
0,
"person"
],
[
1,
"customer_id"
],
[
1,
"firstname"
],
[
1,
"lastname"
],
[
1,
"city"
],
[
1,
"address"
],
[
1,
"email"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"screen"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"speed"
],
[
3,
"ram"
],
[
3,
"hd"
],
[
3,
"price"
],
[
4,
"model"
],
[
4,
"color"
],
[
4,
"type"
],
[
4,
"price"
],
[
5,
"maker"
],
[
5,
"model"
],
[
5,
"type"
],
[
6,
"customer_id"
],
[
6,
"model"
],
[
6,
"quantity"
],
[
6,
"day"
],
[
6,
"paid"
],
[
6,
"type_of_payment"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"person"
],
[
1,
"customer_id"
],
[
1,
"firstname"
],
[
1,
"lastname"
],
[
1,
"city"
],
[
1,
"address"
],
[
1,
"email"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"screen"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"speed"
],
[
3,
"ram"
],
[
3,
"hd"
],
[
3,
"price"
],
[
4,
"model"
],
[
4,
"color"
],
[
4,
"type"
],
[
4,
"price"
],
[
5,
"maker"
],
[
5,
"model"
],
[
5,
"type"
],
[
6,
"customer_id"
],
[
6,
"model"
],
[
6,
"quantity"
],
[
6,
"day"
],
[
6,
"paid"
],
[
6,
"type_of_payment"
]
],
"column_types": [
"text",
"struct(id int, name: text)",
"char",
"varchar",
"varchar",
"varchar",
"varchar",
"varchar",
"char",
"double",
"int",
"int",
"double",
"double",
"char",
"double",
"int",
"int",
"double",
"char",
"varchar",
"varchar",
"double",
"char",
"char",
"varchar",
"char",
"char",
"int",
"date",
"double",
"varchar"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"test",
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
],
"table_names_original": [
"test",
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
]
},
{
"db_id": "laptop_json",
"column_names": [
[
-1,
"*"
],
[
0,
"customer_id"
],
[
0,
"firstname"
],
[
0,
"lastname"
],
[
0,
"city"
],
[
0,
"address"
],
[
0,
"email"
],
[
1,
"model"
],
[
1,
"speed"
],
[
1,
"ram"
],
[
1,
"hd"
],
[
1,
"screen"
],
[
1,
"price"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"color"
],
[
3,
"type"
],
[
3,
"price"
],
[
4,
"maker"
],
[
4,
"model"
],
[
4,
"type"
],
[
5,
"customer_id"
],
[
5,
"model"
],
[
5,
"quantity"
],
[
5,
"day"
],
[
5,
"paid"
],
[
5,
"type_of_payment"
]
],
"column_names_original": [
[
-1,
"*"
],
[
0,
"customer_id"
],
[
0,
"firstname"
],
[
0,
"lastname"
],
[
0,
"city"
],
[
0,
"address"
],
[
0,
"email"
],
[
1,
"model"
],
[
1,
"speed"
],
[
1,
"ram"
],
[
1,
"hd"
],
[
1,
"screen"
],
[
1,
"price"
],
[
2,
"model"
],
[
2,
"speed"
],
[
2,
"ram"
],
[
2,
"hd"
],
[
2,
"price"
],
[
3,
"model"
],
[
3,
"color"
],
[
3,
"type"
],
[
3,
"price"
],
[
4,
"maker"
],
[
4,
"model"
],
[
4,
"type"
],
[
5,
"customer_id"
],
[
5,
"model"
],
[
5,
"quantity"
],
[
5,
"day"
],
[
5,
"paid"
],
[
5,
"type_of_payment"
]
],
"column_types": [
"text",
"char",
"varchar",
"varchar",
"varchar",
"varchar",
"json",
"char",
"double",
"int",
"int",
"double",
"double",
"char",
"double",
"int",
"int",
"double",
"char",
"varchar",
"varchar",
"double",
"char",
"char",
"varchar",
"char",
"char",
"int",
"date",
"double",
"varchar"
],
"foreign_keys": {},
"primary_keys": {},
"table_names": [
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
],
"table_names_original": [
"customers",
"laptops",
"pcs",
"printers",
"products",
"sales"
]
}
]