Skip to content

fix(deps): pin SQLQuack 0.12.1 - #83

Merged
kvlonge merged 1 commit into
mainfrom
fix/pin-sqlquack-0-12-1
Nov 13, 2026
Merged

kvlonge merged 1 commit into
mainfrom
fix/pin-sqlquack-0-12-1

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Why

SQLQuack 0.12.1 is published, with three releases of Snowflake parser corrections since 0.11.2. SQLClean reported EXECUTE IMMEDIATE and SHOW TASKS ... ROOT ONLY as syntax errors, and accepted a string SEQUENCE_NUMBER in ALTER APPLICATION ... APPROVE SPECIFICATION. SQLClean and SQLBuild link one SQLQuack, so SQLClean moves first.

Changes

  • All six direct sqlquack-* pins in Cargo.toml move from 7bf03d1a (0.11.2) to 75d4c848 (0.12.1). Cargo.lock updates only the SQLQuack packages.
  • No formatter, lint or fixture changes are needed.

Verification

  • cargo test --all --locked passes (40 + 8 tests), including the format corpus test. The T-SQL lint test stays ignored.
  • make check-ci passes.
  • Compared the 0.9.5 release from PyPI with this build on Snowflake files, using sqlclean check --no-cache:
    • EXECUTE IMMEDIATE 'SELECT order_id FROM orders';: 0.9.5 reports an opaque-node syntax error; this build passes.
    • SHOW TASKS IN DATABASE orders_db ROOT ONLY;: 0.9.5 reports a parse error; this build passes.
    • ALTER APPLICATION orders_app APPROVE SPECIFICATION orders_spec SEQUENCE_NUMBER = '1';: 0.9.5 passes; this build refuses it with "Expected a number after SEQUENCE_NUMBER =".
    • CREATE INTERACTIVE WAREHOUSE orders_wh (order_id INT);: both refuse it; this build says "Expected a property after the warehouse name" instead of an opaque-node error.
    • Formatting the newly accepted statements is stable: a second pass changes nothing and the files still pass.
    • Control: a plain SELECT passes on both and formats the same.

SQLQuack 0.12.1 is published. Its Snowflake parser reads EXECUTE IMMEDIATE
and SHOW TASKS ... ROOT ONLY, which SQLClean reported as syntax errors, and
refuses a string SEQUENCE_NUMBER in ALTER APPLICATION ... APPROVE
SPECIFICATION, which SQLClean accepted. SQLClean and SQLBuild link one
SQLQuack, so SQLClean moves first.
@kvlonge
kvlonge merged commit e568c9b into main Nov 13, 2026
20 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant