Skip to content

sqlwhy 1.0.0

Choose a tag to compare

@yyzquwu yyzquwu released this 23 Nov 00:50
· 6 commits to main since this release

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 diff compares key multiplicities. Add --value to compare values within each key, including duplicates and SQL NULL.
  • sqlwhy check project.toml runs named audit and diff checks in a single read-only transaction. Use --json for the versioned machine report or --markdown for a GitHub Actions job summary.
  • sqlwhy demo cte-audit runs 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 --version

The source distribution includes the offline studies, examples, and tests. SHA-256 digests for both distributions are attached.