Lune

SIGMOD2024Top-tier venue

Udon: Efficient Debugging of User-Defined Functions in Big Data Systems with Line-by-Line Control

Yicong Huang, Zuozhi Wang, Chen Li

Abstract

Many big data systems are written in languages such as C, C++, Java, and Scala to process large amounts of data efficiently, while data analysts often use Python to conduct data wrangling, statistical analysis, and machine learning. User-defined functions (UDFs) are commonly used in these systems to bridge the gap between the two ecosystems. In this paper, we propose Udon, a novel debugger to support fine-grained debugging of UDFs. Udon encapsulates the modern line-by-line debugging primitives, such as the ability to set breakpoints, perform code inspections, and make code modifications while executing a UDF on a single tuple. It includes a novel debug-aware UDF execution model to ensure the responsiveness of the operator during debugging. It utilizes advanced state-transfer techniques to satisfy breakpoint conditions that span across multiple UDFs. It incorporates various optimization techniques to reduce the runtime overhead. We conduct experiments with multiple UDF workloads on various datasets and show its high efficiency and scalability.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Texera: A System for Collaborative and Interactive Data Analytics Using Workflows cites Amber: A Debuggable Dataflow System Based on the Actor Model
  • IcedTea: Efficient and Responsive Time-Travel Debugging in Dataflow Systems cites Amber: A Debuggable Dataflow System Based on the Actor Model
  • IcedTea: Efficient and Responsive Time-Travel Debugging in Dataflow Systems cites Optimizing Machine Learning Inference Queries with Correlative Proxy Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Texera: A System for Collaborative and Interactive Data Analytics Using WorkflowsZuozhi Wang, Yicong Huang, Shengquan Ni, Avinash Kumar et al.VLDB 2024 · 8 citations
  2. IcedTea: Efficient and Responsive Time-Travel Debugging in Dataflow SystemsShengquan Ni, Yicong Huang, Zuozhi Wang, Chen LiVLDB 2025 · 2 citations

Builds on3

  1. Optimizing Machine Learning Inference Queries with Correlative Proxy ModelsZhihui Yang, Zuozhi Wang, Yicong Huang, Yao Lu et al.VLDB 2022 · 33 citations
  2. Tuplex: Data Science in Python at Native Code SpeedLeonhard F. Spiegelberg, Rahul Yesantharao, Malte Schwarzkopf, Tim KraskaSIGMOD 2021 · 32 citations
  3. Amber: A Debuggable Dataflow System Based on the Actor ModelAvinash Kumar, Zuozhi Wang, Shengquan Ni, Chen LiVLDB 2020 · 22 citations

Related papers

  1. MONSOON: Multi-Step Optimization and Execution of Queries with Partially Obscured PredicatesSourav Sikdar, Chris JermaineSIGMOD 2020 · 6 citations
  2. YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational DatabasesYannis E. Foufoulas, Alkis Simitsis, Eleftherios Stamatogiannakis, Yannis E. IoannidisVLDB 2022 · 25 citations
  3. QURE: AI-Assisted and Automatically Verified UDF InliningTarique Siddiqui, Arnd Christian König, Jiashen Cao, Cong Yan et al.SIGMOD 2025 · 2 citations
  4. Babelfish: Efficient Execution of Polyglot QueriesPhilipp Marian Grulich, Steffen Zeuch, Volker MarklVLDB 2022 · 32 citations
  5. User-Defined Operators: Efficiently Integrating Custom Algorithms into Modern DatabasesMoritz Sichert, Thomas NeumannVLDB 2022 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines