~/talk

DuckPL: A procedural language in DuckDB

slides:none on file

DuckPL implements a Postgres‑dialect PL/pgSQL front end stored as rows in a DuckDB table with serialized blobs, a tree‑walk interpreter that uses an explicit heap‑based stack so table‑valued functions can pause and stream chunks, and an expression executor fast path that evaluates SQL expressions directly — yielding about 30× speedup on a loop example versus naïve query execution. Current runtime is single‑threaded, row‑by‑row, supports variables, loops, cursors (basic), and printf debugging, not yet open source; compilation-to-SQL and hybrid execution are planned.

AI-written summary · about

  1. 0:00Introduction to DuckPL
  2. 2:10DuckPL UDF example
  3. 3:45Live demo of DuckPL
  4. 4:54DuckPL architecture
  5. 5:55Parsing PL/pgSQL
  6. 6:43AST transformation
  7. 7:48Universal representation
  8. 9:33Persistent storage
  9. 10:52Execution engine
  10. 12:24Streaming and operator fit
  11. 13:40Infinite function demo
  12. 15:01Combining UDFs
  13. 16:35Expression fast-path
  14. 17:58Current features
  15. 18:59Future work
  16. 22:19Compilation to SQL
  17. 24:01Vision and CLI
  18. 25:17Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.