Local Development
Use this guide when developing Delta Funnel itself. Run all commands from the repository root.
Prerequisites
- Rust toolchain matching the workspace
rust-version - Python 3.10 or newer
maturinwhen building the Python wheel
Get the source
Install maturin if it is not already available:
Check the Rust workspace
Build and smoke-test the Python wheel
This command builds the deltafunnel wheel, checks the typing marker files,
installs the wheel into a clean virtual environment, imports deltafunnel, and
constructs Session().
Run the SQL Server integration tests
SQL Server tests are opt-in and managed by xtask:
The runner can start a local SQL Server container, create the test database, run Rust and Python write tests, and remove the container when it exits.
See SQL Server integration tests for container runtime, existing server, and individual suite options.
Profile a local workload
Use Profile Delta Funnel workloads to choose between exact operator profiling, Samply, and the opt-in Perfetto diagnostic build. The guide covers symbolized builds, capture permissions, local data handling, and viewer workflows.