~/talk

SQL to Stream with S2S: An Automatic Benchmark Generator for the Java Stream API

Talkat GPCE 2022 · 2022-12-06..12-07· [java]
links:none on file
links:none on file
links:none on file
slides:none on file

S2S automatically compiles SQL query plans into Java Stream pipelines by reading tables via JDBC (SQLite supported), visiting planner nodes and emitting Stream creation, map/filter, and terminal collectors; it converts aggregates to custom Collector code and implements both nested-loop and hash joins by composing flatMap/grouping collectors. The tool emits runnable Java, JUnit tests and generates JMH benchmarks, produces the BSS suite (8 queries, 7 from SteelFusion + one complex TPC‑H query) and validates results against an existing SQL engine; current limits skip takeWhile/dropWhile.

AI-written summary · about

  1. 0:00S2S introduction and purpose
  2. 2:13Java Stream API benchmark challenges
  3. 4:01SQL to Stream API conversion
  4. 6:50S2S architecture and workflow
  5. 8:39Query plan to Stream API
  6. 10:45First Stream API benchmark suite
  7. 14:58S2S limitations and future work
  8. 16:03S2S conclusion and expansions
  9. 17:55Q&A
~/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.