Repository navigation
sqlwhy 1.0.0
sqlwhy 1.0 compares two report outputs by key and can trace an unexpected row count back to the join, filter, or CTE that produced it in supported DuckDB queries.
sqlwhy diffcompares key multiplicities. Add--valueto compare values within each key, including duplicates and SQL NULL.sqlwhy check project.tomlruns named audit and diff checks in a single read-only transaction. Use--jsonfor the versioned machine report or--markdownfor a GitHub Actions job summary.sqlwhy demo cte-auditruns an included debugging example without any input files. It intentionally exits 1 after finding two violations.
The CLI and API contracts describe supported inputs, exit codes, and evidence. The example suite runs from the source distribution or checkout.
Download the wheel and install it in a Python 3.11+ environment:
python -m pip install ./sqlwhy-1.0.0-py3-none-any.whl
sqlwhy --versionThe source distribution includes the offline studies, examples, and tests. SHA-256 digests for both distributions are attached.