FlinkEval: A Synthetic Corpus for Evaluating Natural Language Interfaces to Streaming SQL
Alfio Massimiliano Gliozzo, Nandana Mihindukulasooriya, Gaetano Rossiello, Erick Lee, Lisa Amini
Abstract
Existing natural-language-to-SQL benchmarks primarily evaluate queries over bounded relational data, leaving streaming semantics underexplored. We introduce FlinkEval, an execution-grounded synthetic benchmark comprising 3,903 question--SQL pairs across 45 industry domains and 45 semantic labels. We create diverse schemas and domain-plausible, temporally consistent data through iterative generation and validation. SQL patterns collected from the human-written NL2SQL pairs and vendor documentation drive quota-balanced generation, and execution with a repair loop on Confluent Cloud Apache Flink produces reference queries covering windowing, temporal joins, pattern matching, nested types, and data manipulation. The corpus includes paired schema-explicit and business-language requests, with annotations for analysis by query pattern, complexity, and execution mode. A seven-level Question Specification Ladder examines semantics-preserving reformulation and underspecified requests augmented with oracle-derived clues. Baseline evaluations combine execution outcomes with adjudicated LLM judgments, revealing challenges in pattern composition and request specification.
Create a lesson
Related papers
OmniSynth: A Meta-Evaluation Framework for Benchmarking the Quality of Missingness-Inclusive Synthetic Health Data
Shared title terminology · Annabel Zhu, Océane Doremus, Ariel Guerra-Adames et al.
TT-SAX: A Two-Track Time Series Symbolization for Natural Language Shape Querying
Shared title terminology · Zhao Tan, Xianglong Bao, Zhipeng Xi et al.
Reflective Compositional Grounding for Natural-Language-to-SPARQL
Shared title terminology · Isabelle Mohr, John Dujany, Andre Freitas
MoL-SQL: A Controlled Benchmark for Mixture-of-Language Text-to-SQL
Shared title terminology · Tianqi Luo, Boyan Li, Yuyu Luo
ARoute: Task-Aligned Batch and Streaming Model Routing
Shared title terminology · Daofu Zhang, Qingcheng Zeng, Chunwei Liu et al.
LUCQUE: A lung cancer screening dataset from Québec for reliable AI evaluation
Shared title terminology · Johanna Topalis, Yannick Lemaréchal, Gabriel Couture et al.