sqlbuild is a lightweight SQL build orchestrator.
It analyzes dependencies between SQL files, detects cycles, determines a
correct execution order, and then builds and runs each query using an existing
SQL-to-C++ compiler (sqlc).
A ML pipeline can consist of many SQL queries with complex transformations and dependencies. For example:
source.sqlproducessource.csvtransform.sqlreferencessource.csvfinal.sqlreadstransform.csv
Manually managing execution order quickly becomes error-prone.
sqlbuild solves this by scanning for SQL files, inferring dependencies, detecting cycles, compiling and executing queries in the correct order.