advanced_subtype string | answer_policy string | difficulty string | difficulty_detail string | difficulty_name string | domain string | evaluation_scope string | execution dict | input_order string | output_schema list | protected_fields_omitted list | question string | redistribution_status string | release_id string | runtime_mode string | source_benchmark string | source_database string | source_database_aliases list | source_license_summary string | source_split string | source_task_id string | source_url string | sources list | streaming_instruction string | task_id string | task_origin string | taxonomy dict | taxonomy_scheme string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
null | any_k_from_tie_set | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "name",
"position": 1
},
{
"name": "reorder_point",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What are the names of the top 6 products that has the biggest size in centimeter and what are its reorder point? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07375 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "ProductNumber",
"s... | Product data is transmitted in the order of SellStartDate, and finally output as the names and reorder points of the top six products with the biggest size in centimeters. | bird_07375 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "total_due",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How much is the amount to be paid by the company for the purchase order with the third highest freight amount? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07376 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "PurchaseOrderID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "RevisionNumber",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "Status"... | Purchase order data is transmitted in the order of OrderDate, and finally output as the amount to be paid for the purchase order with the third highest freight amount. | bird_07376 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "profit_for_ten_items",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What profit will the company gain if they sell 10 items of the product that has the lightest weight? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07377 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "ProductNumber",
"s... | Product data is transmitted in the order of SellStartDate, and finally output as the profit the company will gain from selling ten items of the product with the lightest weight. | bird_07377 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "tax_amt",
"position": 1
},
{
"name": "purchase_order_id",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How much is the tax amount of the purchase order with the biggest tax amount? Indicate the purchase order ID. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07378 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "PurchaseOrderID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "RevisionNumber",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "Status"... | Purchase order data is transmitted in the order of OrderDate, and finally output as the tax amount and purchase order ID for the purchase order with the biggest tax amount. | bird_07378 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "excess_inventory_discount_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many discount are of the type "Excess Inventory"? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07399 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "SpecialOfferID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Description",
"source_type": "TEXT"
},
{
"flink_type": "DOUBLE",
"name": "DiscountPct",
... | SpecialOffer data is transmitted in the order of StartDate, and finally output as the number of discounts of the type "Excess Inventory". | bird_07399 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | any_k_from_tie_set | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "description",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which seasonal discount had the highest discount percentage? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07400 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "SpecialOfferID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Description",
"source_type": "TEXT"
},
{
"flink_type": "DOUBLE",
"name": "DiscountPct",
... | SpecialOffer data is transmitted in the order of StartDate, and finally output as the description of the seasonal discount with the highest discount percentage. | bird_07400 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | any_k_from_tie_set | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "description",
"position": 1
},
{
"name": "discount_pct",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Please list the top 3 discounts with the highest discount percentage and fall under the reseller category. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07401 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "SpecialOfferID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Description",
"source_type": "TEXT"
},
{
"flink_type": "DOUBLE",
"name": "DiscountPct",
... | SpecialOffer data is transmitted in the order of StartDate, and finally output as the top three discounts with the highest discount percentage in the reseller category. | bird_07401 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "salable_in_house_product_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Among all the products that are manufactured in-house, how many of them are salable? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07403 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "ProductNumber",
"s... | Product data is transmitted in the order of SellStartDate, and finally output as the number of products manufactured in-house that are salable. | bird_07403 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | any_k_from_tie_set | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "name",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which product has the highest standard cost? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07405 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "ProductNumber",
"s... | Product data is transmitted in the order of SellStartDate, and finally output as the product with the highest standard cost. | bird_07405 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "mr_store_contact_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Among the employees who are store contacts, how many of them have a title of "Mr."? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07407 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "BusinessEntityID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "PersonType",
"source_type": "TEXT"
},
{
"flink_type": "BIGINT",
"name": "NameStyle",
... | Person data is transmitted in the order of ModifiedDate, and finally output as the number of store contacts who have a title of "Mr.". | bird_07407 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "product_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which product cost the least in 2013? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07436 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "StartDate",
"source_type": "DATE"
},
{
"flink_type": "STRING",
"name": "EndDate",
"so... | ProductCostHistory data is transmitted in the order of StartDate, and finally output as the ProductID that cost the least in 2013. | bird_07436 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "list_price",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the price for the product with the id "912"? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07440 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "StartDate",
"source_type": "DATE"
},
{
"flink_type": "STRING",
"name": "EndDate",
"so... | ProductListPriceHistory data is transmitted in the order of StartDate, and finally output as the price for the product with the id 912. | bird_07440 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "thumbnail_product_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many products with a thumpnail photo? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07455 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "ProductPhotoID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "Primary",
... | ProductProductPhoto data is transmitted in the order of ModifiedDate, and finally output as the number of products with a thumbnail photo. | bird_07455 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "work_order_425_duration_days",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many days did it take to end the work order "425"? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07456 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "WorkOrderID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "OperationSequenc... | WorkOrderRouting data is transmitted in the order of ScheduledStartDate, and finally output as the number of days it took to end work order 425. | bird_07456 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | any_k_from_tie_set | D2 | medium | medium | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "product_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which product has the highest price in 2012? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07457 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "StartDate",
"source_type": "DATE"
},
{
"flink_type": "STRING",
"name": "EndDate",
"so... | ProductListPriceHistory data is transmitted in the order of StartDate, and finally output as the product with the highest price in 2012. | bird_07457 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "standard_cost",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the cost for the product "847"? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07458 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "StartDate",
"source_type": "DATE"
},
{
"flink_type": "STRING",
"name": "EndDate",
"so... | ProductCostHistory data is transmitted in the order of StartDate, and finally output as the cost for product 847. | bird_07458 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "organization_level",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the organization level for Human Resources Manager? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07459 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "BusinessEntityID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "NationalIDNumber",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "LoginID... | Employee data is transmitted in the order of ModifiedDate, and finally output as the organization level for the Human Resources Manager. | bird_07459 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "overdue_work_order_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many of the work orders didn’t meet the due date? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | works_cycles | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07460 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "WorkOrderID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "ProductID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "OrderQty",
... | WorkOrder data is transmitted in the order of StartDate, and finally output as the number of work orders that didn’t meet the due date. | bird_07460 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "content",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Write all the review content belonging to StormCast: The Official Warhammer Age of Sigmar Podcast. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07939 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the content of all reviews belonging to the StormCast: The Official Warhammer Age of Sigmar Podcast. | bird_07939 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
},
{
"name": "content",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Write all the review titles and the contents belonging to the podcast 'More Stupider: A 90-Day Fiance Podcast' with a review rating of 1. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07940 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the review titles and contents for the podcast 'More Stupider: A 90-Day Fiance Podcast' with a rating of 1. | bird_07940 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "june_2022_total_podcast_reviews_added",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many total reviews runned at in June 2022 were added to the podcasts? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07944 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "run_at",
"source_type": "TEXT"
},
{
"flink_type": "BIGINT",
"name": "max_rowid",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "reviews_added",
... | Run data is transmitted in the order of run_at, and finally output as the total number of reviews added to the podcasts in June 2022. | bird_07944 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "q1_2015_three_star_podcast_review_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many podcast reviews with a rating of 3 were created during the first quarter of 2015? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07945 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the number of podcast reviews with a rating of 3 created during the first quarter of 2015. | bird_07945 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "year_2019_average_podcast_rating",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the average rating of all the podcasts with reviews created in 2019? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07947 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the average rating of all podcasts with reviews created in 2019. | bird_07947 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "created_at",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What dates were the Don't Lie To Your Life Coach podcast reviews created? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07955 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the dates the Don't Lie To Your Life Coach podcast reviews were created. | bird_07955 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | any_k_from_tie_set | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the longest review? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07966 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the title of the longest review. | bird_07966 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "content",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the content of the review under the title "really interesting!" and is created on 2018-04-24 at 12:05:16? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | music_platform_2 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_07980 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "STRING",
"name": "podcast_id",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "content",
"source_t... | Review data is transmitted in the order of created_at, and finally output as the content of the review titled "really interesting!" created on 2018-04-24 at 12:05:16. | bird_07980 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "custmoer_number",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Of the first 60,000 customers' responses to the incentive mailing sent by the marketing department, how many of them are considered a true response? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | software_company | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_08514 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "REFID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "REF_DATE",
"source_type": "DATETIME"
},
{
"flink_type": "STRING",
"name": "RESPONSE",
"so... | Mailing data is transmitted in the order of REF_DATE, and finally output as the number of the first 60,000 customers' responses considered a true response. | bird_08514 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "custmoer_number",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Calculate the number of customers who did not respond in February of 2007. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | software_company | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_08553 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "REFID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "REF_DATE",
"source_type": "DATETIME"
},
{
"flink_type": "STRING",
"name": "RESPONSE",
"so... | Mailing data is transmitted in the order of REF_DATE, and finally output as the number of customers who did not respond in February of 2007. | bird_08553 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "response",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Point out the greater one between the number of actual responding and not responding to mailing. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | software_company | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_08580 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "REFID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "REF_DATE",
"source_type": "DATETIME"
},
{
"flink_type": "STRING",
"name": "RESPONSE",
"so... | Mailing data is transmitted in the order of REF_DATE, and finally output as the greater one between the number of actual responding and not responding to mailing. | bird_08580 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Please list the titles of the films that are released in 2006 and have a rental rate of $2.99. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09106 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the titles of films released in 2006 with a rental rate of $2.99. | bird_09106 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which film has the longest duration of film screening? Please give its title. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09107 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the title of the film with the longest duration. | bird_09107 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which film has a higher replacement cost, ACE GOLDFINGER or ACADEMY DINOSAUR? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09108 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the title of the film with the higher replacement cost between ACE GOLDFINGER and ACADEMY DINOSAUR. | bird_09108 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Please list the titles of all the films that have more than 2 special features. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09111 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the titles of all films that have more than 2 special features. | bird_09111 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "release_year",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | In which year was the film with the highest replacement cost released? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09114 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the release year of the film with the highest replacement cost. | bird_09114 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Please list the titles of the top 3 films with the highest replacement cost. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09115 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the titles of the top three films with the highest replacement cost. | bird_09115 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "nordrhein_westfalen_address_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | State the number of addresses in the Nordrhein-Westfalen district. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09147 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "address_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "address",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "address2",
"so... | Address data is transmitted in the order of last_update, and finally output as the number of addresses in the Nordrhein-Westfalen district. | bird_09147 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "film_508_actor_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many actors starred in the film id 508? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09174 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "actor_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "last_update",
... | Film-actor data is transmitted in the order of last_update, and finally output as the number of actors who starred in film ID 508. | bird_09174 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "first_ten_rentals_total_payment",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How much is the total rental payment for the first 10 rentals? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09178 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "payment_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "staff_id",
... | Payment data is transmitted in the order of payment_date, and finally output as the total rental payment for the first ten rentals. | bird_09178 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "manager_staff_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Who is the staff manager in store id 2? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09180 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "store_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "manager_staff_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "address_id",... | Store data is transmitted in the order of last_update, and finally output as the staff manager for store id 2. | bird_09180 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "actor_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | List the actors' IDs who have "KILMER" as last name. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09201 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "actor_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "first_name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "last_name",
"... | Actor data is transmitted in the order of last_update, and finally output as the list of actor IDs for actors with the last name "KILMER". | bird_09201 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | List down the films titles with the lowest replacement cost under the general audiences rating. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09202 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the titles of films with the lowest replacement cost under the general audiences rating. | bird_09202 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
},
{
"name": "description",
"position": 2
},
{
"name": "special_features",
"position": 3
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Among the films with the longest duration, list any five title with their descriptions and special features. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09203 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the title, description, and special features for any five films with the longest duration. | bird_09203 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "may_26_to_30_returned_film_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many films rented on 26th May, 2005 were returned on 30th May, 2005? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09204 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "rental_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "rental_date",
"source_type": "DATETIME"
},
{
"flink_type": "BIGINT",
"name": "inventory_id",
... | Rental data is transmitted in the order of rental_date, and finally output as the number of films rented on 26th May, 2005 that were returned on 30th May, 2005. | bird_09204 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "customer_id",
"position": 1,
"type": "BIGINT"
},
{
"name": "average_payment_amount",
"position": 2,
"type": "DECIMAL(38,6)"
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Calculate the average payment amount per customer. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09205 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "payment_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "staff_id",
... | Payment rows are transmitted in ascending payment_date order. After the complete source stream is consumed, output one final row per customer with customer_id first and that customer's average payment amount rounded to six decimal places second. | bird_09205 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "first_name",
"position": 1
},
{
"name": "last_name",
"position": 2
},
{
"name": "email",
"position": 3
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the name and email of the staff in store ID 2? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09206 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "staff_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "first_name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "last_name",
"... | Staff data is transmitted in the order of last_update, and finally output as the name and email of the staff in store ID 2. | bird_09206 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "august_2005_total_customer_payment",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Calculate customers' total payment amount in August, 2005. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09209 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "payment_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "staff_id",
... | Payment data is transmitted in the order of payment_date, and finally output as the customers' total payment amount in August 2005. | bird_09209 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "address",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | List the address in Texas in the ascending order of city id. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09244 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "address_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "address",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "address2",
"so... | Address data is transmitted in the order of last_update, and finally output as all addresses in Texas in ascending order of city_id. | bird_09244 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "first_name",
"position": 1
},
{
"name": "last_name",
"position": 2
},
{
"name": "email",
"position": 3
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find the full name and email address of inactive customers whose record was created in 2006. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09245 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "store_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "first_name",
... | Customer data is transmitted in the order of create_date, and finally output as the full name and email address of inactive customers whose record was created in 2006. | bird_09245 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "pg_13_movie_percentage",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What percentage of the movies are PG-13? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09246 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the percentage of movies that are rated PG-13. | bird_09246 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Please list the top ten movies with the most price per day in descending order of price per day. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09247 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the top ten movies with the highest price per day in descending order. | bird_09247 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "kilmer_actor_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many actors with the surname Kilmer are there? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09262 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "actor_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "first_name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "last_name",
"... | Actor data is transmitted in the order of last_update, and finally output as the number of actors with the surname Kilmer. | bird_09262 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "address_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What are the address numbers that are located in Gansu district? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09287 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "address_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "address",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "address2",
"so... | Address data is transmitted in the order of last_update, and finally output as the address numbers located in the Gansu district. | bird_09287 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "name",
"position": 1
},
{
"name": "category_id",
"position": 2
},
{
"name": "last_update",
"position": 3
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Please list three types of film along with their IDs and the latest update. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09288 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "category_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "last_update",
"s... | Category data is transmitted in the order of last_update, and finally output as three types of film along with their IDs and the latest update. | bird_09288 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which film has the longest duration? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09304 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the title of the film with the longest duration. | bird_09304 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "first_name",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Return every first name tied for the highest customer frequency. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09306 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "store_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "first_name",
... | customer data is transmitted in ascending create_date order; after the complete source stream is consumed, output the final relation defined by the repaired question. | bird_09306 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "maximum_films_rented_per_customer",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the largest number of films rented per customer? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09308 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "rental_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "rental_date",
"source_type": "DATETIME"
},
{
"flink_type": "BIGINT",
"name": "inventory_id",
... | Rental data is transmitted in the order of rental_date, and finally output as the largest number of films rented per customer. | bird_09308 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "category_11_movie_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many id movies have category id 11? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09324 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "category_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "last_update",
... | Film category data is transmitted in the order of last_update, and finally output as the number of movies that have category id 11. | bird_09324 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which film titles have the most expensive rental rate? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09342 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the titles of the films with the most expensive rental rate. | bird_09342 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the title of the restricted film, whose length is 71 minutes and whose replacement cost is $29.99? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09363 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the title of the restricted film whose length is 71 minutes and whose replacement cost is $29.99. | bird_09363 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "title",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Name the movie with the highest rental revenue among the shortest films. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09378 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the name of the movie with the highest rental revenue among the shortest films. | bird_09378 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "rental_rate_4_99_average_replacement_cost",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the average replacement cost for the movies with a rental rate of 4.99? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09380 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "film_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "title",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "description",
"sour... | Film data is transmitted in the order of last_update, and finally output as the average replacement cost for movies with a rental rate of 4.99. | bird_09380 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "store_1_inactive_customer_percentage",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Indicate the percentage of inactive customers at store no.1. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09382 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "store_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "first_name",
... | Customer data is transmitted in the order of create_date, and finally output as the percentage of inactive customers at store number 1. | bird_09382 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "film_category_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many film categories are there? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | BIRD | movie_3 | null | CC-BY-SA-4.0 for benchmark annotations; underlying database components retain their own terms | train | bird_09386 | https://bird-bench.github.io/ | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "category_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "name",
"source_type": "TEXT"
},
{
"flink_type": "STRING",
"name": "last_update",
"s... | Category data is transmitted in the order of last_update, and finally output as the number of film categories. | bird_09386 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Healthcare, Education & Public Services | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "student_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | what is id of students who registered some courses but the least number of courses in these students? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | student_assessment | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_58 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "student_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "course_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "registration_date... | Student course registration data is transmitted in the order of registration_date, and finally output as the ID of the student who registered for the least number of courses. | spider1_0001 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Healthcare, Education & Public Services | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "candidate_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find id of the candidate who most recently accessed the course? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | student_assessment | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_75 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "candidate_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "qualification",
"source_type": "CHAR(15)"
},
{
"flink_type": "STRING",
"name": "assessment... | Candidate assessment data is transmitted in the order of assessment_date, and finally output as the ID of the candidate who most recently accessed the course. | spider1_0002 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Healthcare, Education & Public Services | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "student_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the id of the student who most recently registered course 301? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | student_assessment | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_89 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "student_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "course_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "date_of_attendanc... | Student course attendance data is transmitted in the order of date_of_attendance, and finally output as the ID of the student who most recently registered for course 301. | spider1_0003 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "tweet_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find the number of tweets in record. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | twitter_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_279 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "bigint(20)"
},
{
"flink_type": "BIGINT",
"name": "uid",
"source_type": "int(11)"
},
{
"flink_type": "STRING",
"name": "text",
"source_type"... | Tweet data is transmitted in the order of createdate, and finally output as the number of tweets in the record. | spider1_0004 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "tweeting_user_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find the number of users who posted some tweets. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | twitter_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_280 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "bigint(20)"
},
{
"flink_type": "BIGINT",
"name": "uid",
"source_type": "int(11)"
},
{
"flink_type": "STRING",
"name": "text",
"source_type"... | Tweet data is transmitted in the order of createdate, and finally output as the number of users who posted some tweets. | spider1_0005 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | any_one_argmax | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "catalog_publisher",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which catalog publisher has published the most catalogs? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | product_catalog | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_311 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "catalog_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "catalog_name",
"source_type": "VARCHAR(50)"
},
{
"flink_type": "STRING",
"name": "catalog_pu... | Catalog data is transmitted in the order of date_of_publication, and finally output as the catalog publisher who has published the most catalogs. | spider1_0006 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "date_of_latest_revision",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find the dates on which more than one revisions were made. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | product_catalog | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_337 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "catalog_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "catalog_name",
"source_type": "VARCHAR(50)"
},
{
"flink_type": "STRING",
"name": "catalog_pu... | Catalog data is transmitted in the order of date_of_publication, and finally output as the dates on which more than one revision was made. | spider1_0007 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "billing_country",
"position": 1
},
{
"name": "country_invoice_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | A list of the top 5 countries by number of invoices. List country name and number of invoices. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | store_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_537 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "invoice_date",
... | Invoice data is transmitted in the order of invoice_date, and finally output as a list of the top five countries by number of invoices, showing the country name and invoice count. | spider1_0008 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "billing_country",
"position": 1
},
{
"name": "country_gross_invoice_amount",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | store_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_539 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "invoice_date",
... | Invoice data is transmitted in the order of invoice_date, and finally output as a list of the top eight countries by gross invoice size, showing the country name and gross invoice size. | spider1_0009 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "billing_country",
"position": 1
},
{
"name": "country_average_invoice_amount",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | A list of the top 10 countries by average invoice size. List country name and average invoice size. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | store_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_541 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "invoice_date",
... | Invoice data is transmitted in the order of invoice_date, and finally output as a list of the top 10 countries by average invoice size, showing the country name and average invoice size. | spider1_0010 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "billing_state",
"position": 1
},
{
"name": "maximum_state_invoice_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | List the state in the US with the most invoices. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | store_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_565 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "invoice_date",
... | Invoice data is transmitted in the order of invoice_date, and finally output as the state in the US with the most invoices. | spider1_0014 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "billing_state",
"position": 1
},
{
"name": "california_invoice_count",
"position": 2
},
{
"name": "california_invoice_total_amount",
"position": 3
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | List the number of invoices and the invoice total from California. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | store_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_567 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "invoice_date",
... | Invoice data is transmitted in the order of invoice_date, and finally output as the number of invoices and the invoice total from California. | spider1_0015 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "canadian_employee_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many employees are living in Canada? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | store_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_595 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "last_name",
"source_type": "VARCHAR(20)"
},
{
"flink_type": "STRING",
"name": "first_name",
... | Employee data is transmitted in the order of birth_date, and finally output as the number of employees living in Canada. | spider1_0016 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "customer_id",
"position": 1
},
{
"name": "customer_card_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show all customer ids and the number of cards owned by each customer. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_card_transactions | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_711 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "card_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "card_type_code",
... | Customer card data is transmitted in the order of date_valid_from, and finally output as all customer IDs and the number of cards owned by each customer. | spider1_0019 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "customer_id",
"position": 1
},
{
"name": "maximum_customer_card_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Return every customer tied for the largest number of cards, together with that card count. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_card_transactions | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_713 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "card_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "card_type_code",
... | Customers_cards data is transmitted in ascending date_valid_from order; after the complete source stream is consumed, output the final relation defined by the repaired question. | spider1_0020 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "card_type_code",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the card type code with most number of cards? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_card_transactions | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_721 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "card_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "card_type_code",
... | Customer card data is transmitted in the order of date_valid_from, and finally output as the card type code with the most number of cards. | spider1_0022 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "card_type_code",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show card type codes with at least 5 cards. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_card_transactions | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_723 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "card_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "card_type_code",
... | Customer card data is transmitted in the order of date_valid_from, and finally output as the card type codes with at least five cards. | spider1_0023 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "card_type_code",
"position": 1
},
{
"name": "card_type_customer_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show all card type codes and the number of customers holding cards in each type. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_card_transactions | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_725 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "card_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "card_type_code",
... | Customer card data is transmitted in the order of date_valid_from, and finally output as all card type codes and the number of customers holding cards in each type. | spider1_0024 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "card_type_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show the number of card types. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_card_transactions | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_731 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "card_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "card_type_code",
... | Customer card data is transmitted in the order of date_valid_from, and finally output as the number of distinct card types. | spider1_0025 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Media, Culture & Social Platforms | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "employee_city_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many distinct cities does the employees live in? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | chinook_1 | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_853 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "EmployeeId",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "LastName",
"source_type": "varchar(20)"
},
{
"flink_type": "STRING",
"name": "FirstName",
... | Employee data is transmitted in the order of BirthDate, and finally output as the number of distinct cities where the employees live. | spider1_0026 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "guest_first_name",
"position": 1
},
{
"name": "guest_last_name",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Return the first names and last names of all guests | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | apartment_rentals | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1216 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "guest_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "gender_code",
"source_type": "CHAR(1)"
},
{
"flink_type": "STRING",
"name": "guest_first_name"... | Guest data is transmitted in the order of date_of_birth, and finally output as the first names and last names of all guests. | spider1_0028 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "booking_status_code",
"position": 1
},
{
"name": "booking_status_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show the booking status code and the corresponding number of bookings. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | apartment_rentals | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1248 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "apt_booking_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "apt_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "guest_id",
... | Apartment booking data is transmitted in the order of booking_start_date, and finally output as the booking status code and the corresponding number of bookings. | spider1_0029 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "gender_code",
"position": 1
},
{
"name": "gender_guest_count",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show each gender code and the corresponding count of guests sorted by the count in descending order. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | apartment_rentals | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1266 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "guest_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "gender_code",
"source_type": "CHAR(1)"
},
{
"flink_type": "STRING",
"name": "guest_first_name"... | Guest data is transmitted in the order of date_of_birth, and finally output as each gender code and the corresponding count of guests sorted by the count in descending order. | spider1_0030 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "policy_type_code",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Which type of policy is most frequently used? Give me the policy type code. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | insurance_and_eClaims | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1511 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "Policy_ID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "Customer_ID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Policy_Type_Code... | Policy data is transmitted in the order of Start_Date, and finally output as the policy type code that is most frequently used. | spider1_0031 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "policy_type_code",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find all the policy types that are used by more than 2 customers. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | insurance_and_eClaims | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1513 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "Policy_ID",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "Customer_ID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Policy_Type_Code... | Policy data is transmitted in the order of Start_Date, and finally output as the policy types used by more than two customers. | spider1_0032 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "total_amount_paid",
"position": 1
},
{
"name": "average_amount_paid",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Find the total and average amount paid in claim headers. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | insurance_and_eClaims | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1515 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "Claim_Header_ID",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "Claim_Status_Code",
"source_type": "CHAR(15)"
},
{
"flink_type": "STRING",
"name": "Cla... | Claim header data is transmitted in the order of Date_of_Claim, and finally output as the total and average amount paid. | spider1_0033 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "account_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show the number of accounts. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1547 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "account_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "date_account_op... | Account data is transmitted in the order of date_account_opened, and finally output as the number of accounts. | spider1_0035 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "account_holding_customer_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many customers have opened an account? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1549 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "account_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "date_account_op... | Account data is transmitted in the order of date_account_opened, and finally output as the number of customers who have opened an account. | spider1_0036 | upstream | {
"D": "D2",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "account_id",
"position": 1
},
{
"name": "date_account_opened",
"position": 2
},
{
"name": "account_name",
"position": 3
},
{
"name": "other_account_details",
"position": 4
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show the id, the date of account opened, the account name, and other account detail for all accounts. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1551 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "account_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "date_account_op... | Account data is transmitted in the order of date_account_opened, and finally output as the ID, date opened, name, and other details for all accounts. | spider1_0037 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "average_transaction_amount",
"position": 1
},
{
"name": "minimum_transaction_amount",
"position": 2
},
{
"name": "maximum_transaction_amount",
"position": 3
},
{
"name": "total_transaction_amount",
"position": 4
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the average, minimum, maximum, and total transaction amount? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1583 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "transaction_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "account_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "invoice_numb... | Financial transaction data is transmitted in the order of transaction_date, and finally output as the average, minimum, maximum, and total transaction amount. | spider1_0041 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "transaction_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show ids for all transactions whose amounts are greater than the average. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1585 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "transaction_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "account_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "invoice_numb... | Financial transaction data is transmitted in the order of transaction_date, and finally output as the IDs of transactions whose amounts are greater than the average transaction amount. | spider1_0042 | upstream | {
"D": "D2",
"S": "S3",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Finance & Digital Assets | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "account_id",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | Show the account id with most number of transactions. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1591 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "transaction_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "account_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "invoice_numb... | Financial transaction data is transmitted in the order of transaction_date, and finally output as the account ID with the most number of transactions. | spider1_0044 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "invoice_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many invoices do we have? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | customers_and_invoices | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1603 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "invoice_number",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "order_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "invoice_date",... | Invoice data is transmitted in the order of invoice_date, and finally output as the number of invoices. | spider1_0046 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D2 | medium | medium | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "customer_id",
"position": 1
},
{
"name": "maximum_customer_total_amount_paid",
"position": 2
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the maximum total amount paid by a customer? List the customer id and amount. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | products_for_hire | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1962 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "payment_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "booking_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
... | Payment data is transmitted in the order of payment_date, and finally output as the customer ID and the maximum total amount paid by a customer. | spider1_0047 | upstream | {
"D": "D2",
"S": "S2",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "first_name",
"position": 1
},
{
"name": "last_name",
"position": 2
},
{
"name": "gender_mf",
"position": 3
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What are the first name, last name, and gender of all the good customers? Order by their last name. | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | products_for_hire | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1969 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "customer_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "coupon_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "good_or_bad_cust... | Customer data is transmitted in the order of date_became_customer, and finally output as the first name, last name, and gender of all good customers, ordered by last name. | spider1_0048 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | Commerce & Customer Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "average_amount_due",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | What is the average amount due for all the payments? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | products_for_hire | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_1970 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "payment_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "booking_id",
"source_type": "INTEGER"
},
{
"flink_type": "BIGINT",
"name": "customer_id",
... | Payment data is transmitted in the order of payment_date, and finally output as the average amount due for all the payments. | spider1_0049 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
null | exact_multiset | D1 | easy | easy | General Enterprise Operations | final_only | {
"evaluation": "final_materialized_csv_only",
"input": "Kafka",
"input_topic_contract": "one_single_partition_topic_per_declared_source",
"mode": "STREAMING",
"output": "Kafka",
"output_record_kind": "changelog"
} | ascending_event_time_stable_ties | [
{
"name": "completed_document_count",
"position": 1
}
] | [
"reference_sql",
"gold_csv",
"gold_json",
"python_oracle",
"test_cases",
"counterfactuals"
] | How many documents have the status code done? | redistributed_with_attribution | streamsqlbench-v1.0.0 | STREAMING | Spider | cre_Doc_Control_Systems | null | Apache-2.0 in the official taoyds/spider repository | train_spider | train_spider.json_2112 | https://yale-lily.github.io/spider | [
{
"columns": [
{
"flink_type": "BIGINT",
"name": "document_id",
"source_type": "INTEGER"
},
{
"flink_type": "STRING",
"name": "document_status_code",
"source_type": "CHAR(15)"
},
{
"flink_type": "STRING",
"name": "docu... | Document data is transmitted in the order of receipt_date, and finally output as the number of documents with the status code done. | spider1_0050 | upstream | {
"D": "D1",
"S": "S1",
"T": "T1"
} | streamsqlbench_tsd3_v1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.