Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB
Summary: FlockMTL embeds LLMs/RAG in DuckDB via PROMPT/MODEL DDLs, exposing LLM-backed scalar/aggregate functions for chained tuple predictions and hybrid search. Relational optimizations (batching, meta-prompting) and resource-independent abstractions reduce data movement and orchestration. (summarized by gpt-5-mini on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Anas Dorbani (Polytechnique Montréal)
- 2. Sunny Yasser (Polytechnique Montréal)
- 3. Jimmy Lin (University of Waterloo)
- 4. Amine Mhedhbi (Polytechnique Montréal)
BibTeX Citation
@article{dorbani_vldb25,
title = {{Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB}},
author = {Dorbani, Anas and Yasser, Sunny and Lin, Jimmy and Mhedhbi, Amine},
journal = {PVLDB},
series = {{VLDB} '25},
volume = {18},
number = {12},
pages = {5415--5418},
doi = {10.14778/3750601.3750685},
url = {https://doi.org/10.14778/3750601.3750685},
year = {2025}
}
Incoming Citations (Sorted by Pagerank)
Showing 7 of 7 citing papers.
| Rank | Citing Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 5,309 | SemBench: A Benchmark for Semantic Query Processing Engines | 2026 | VLDB | 6.1841176e-05 |
| 6,607 | Multi-Objective Agentic Rewrites for Unstructured Data Processing | 2026 | VLDB | 5.73539e-05 |
| 10,353 | Rethinking Query Optimization for Multi-Agent Systems | 2027 | VLDB | 4.9769913e-05 |
| 10,412 | 100x Cost & Latency Reduction: Performance Analysis of AI Query Approximation using Lightweight Proxy Models: [Experiments & Analysis] | 2026 | SIGMOD | 4.9769913e-05 |
| 10,867 | Sema: A High-performance System for LLM-based Semantic Query Processing | 2026 | VLDB | 4.9769913e-05 |
| 10,907 | stratum: A System Infrastructure for Massive Agent-Centric ML Workloads | 2026 | VLDB | 4.9769913e-05 |
| 11,017 | iPDB: SQL with ML and LLM Predicates (Towards a Database Engine for AI) | 2026 | VLDB | 4.9769913e-05 |
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 4 of 4 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
| Rank | Cited Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 71 | DuckDB: an Embeddable Analytical Database | 2019 | SIGMOD | 0.00037724477 |
| 717 | Palimpzest: Optimizing AI-Powered Analytics with Declarative Query Processing | 2025 | CIDR | 0.00014528323 |
| 2,592 | Text2SQL is Not Enough: Unifying AI and Databases with TAG | 2025 | CIDR | 8.243678e-05 |
| 3,717 | Logical and Physical Optimizations for SQL Query Execution over Large Language Models | 2025 | SIGMOD | 7.0712441e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| # | Overall Rank | Paper | Year | Venue |
|---|---|---|---|---|
| 1 | 3,717 | Logical and Physical Optimizations for SQL Query Execution over Large Language Models | 2025 | SIGMOD |
| 2 | 10,697 | SchemaRAG: A Schema-aware Retrieval-Augmented Generation Framework for Text-to-SQL | 2026 | SIGMOD |
| 3 | 11,017 | iPDB: SQL with ML and LLM Predicates (Towards a Database Engine for AI) | 2026 | VLDB |
| 4 | 4,727 | LLM for Data Management | 2024 | VLDB |
| 5 | 4,789 | Hybrid Querying Over Relational Databases and Large Language Models | 2025 | CIDR |
| 6 | 4,346 | Chat2Data: An Interactive Data Analysis System with RAG, Vector Databases and LLMs | 2024 | VLDB |
| 7 | 5,244 | DuckPGQ: Bringing SQL/PGQ to DuckDB | 2023 | VLDB |
| 8 | 10,867 | Sema: A High-performance System for LLM-based Semantic Query Processing | 2026 | VLDB |
| 9 | 7,080 | DuckPGQ: Efficient Property Graph Queries in an analytical RDBMS | 2023 | CIDR |
| 10 | 9,729 | Database as Runtime: Compiling LLMs to SQL for In-database Model Serving | 2025 | SIGMOD |