The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining
Summary: Argues full UDF inlining can harm optimizer effectiveness and introduces UDF outlining: decompose and deliberately hide unhelpful UDF fragments before selective inlining to produce optimizer-friendly SQL. PRISM implements this, yielding major gains (avg 1.29× DuckDB, 298.73× SQL Server) via improved unnesting, data skipping, and fewer joins. (summarized by gpt-5-mini on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Samuel Arch
- 2. Yuchen Liu
- 3. Todd C. Mowry
- 4. Jignesh M. Patel
- 5. Andrew Pavlo
Incoming Citations (Sorted by Pagerank)
Showing 2 of 2 citing papers.
| Rank | Citing Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 9,763 | The UDFBench Benchmark for General-purpose UDF Queries | 2025 | VLDB | 4.2856106e-05 |
| 10,253 | Scalable GPU Acceleration of Scalar Functions in Analytical Databases: Compilation, Benchmarking, and Optimization | 2026 | VLDB | 4.1945683e-05 |
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 22 of 22 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
Previous
Page 1 / 1
Next
Semantically Similar Papers
| Overall Rank | Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 12,316 | Fast and Dynamic OLAP Exploration Using UDFs | 2009 | SIGMOD | 4.1945683e-05 |
| 4,014 | Exploiting Correlations for Expensive Predicate Evaluation | 2015 | SIGMOD | 6.5273084e-05 |
| 5,476 | Containerized Execution of UDFs: An Experimental Evaluation | 2022 | VLDB | 5.4866534e-05 |
| 6,189 | Accelerating Python UDFs in Vectorized Query Execution | 2022 | CIDR | 5.1647573e-05 |
| 6,645 | Functional-Style SQL UDFs With a Capital 'F' | 2020 | SIGMOD | 4.978205e-05 |
| 10,459 | UDFBench: A Tool for Benchmarking UDF Queries on SQL Engines | 2025 | SIGMOD | 4.1945683e-05 |
| 9,763 | The UDFBench Benchmark for General-purpose UDF Queries | 2025 | VLDB | 4.2856106e-05 |
| 8,583 | Efficient Execution of User-Defined Functions in SQL Queries | 2023 | VLDB | 4.4919445e-05 |
| 4,582 | BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid | 2019 | VLDB | 6.070187e-05 |
| 6,375 | Dear User-Defined Functions, Inlining isn't working out so great for us. Let's try batching to make our relationship work. Sincerely, SQL | 2024 | CIDR | 5.0923872e-05 |