Repository navigation
feat: convert local test SQL with SQLBabel 0.39.0 - #1718
Merged
Merged
Conversation
Local tests and scenarios convert Snowflake SQL with the sqlbabel package, 0.39.0 from PyPI, instead of sqlquack. Refusal codes read SBL instead of SQ, and refusals and help name SQLBabel. Conversions are kept in target/sqlbabel-cache; when target/sqlquack-cache is still there, the run prints a note once saying it is no longer read and can be deleted.
…package # Conflicts: # crates/sqlbuild-python-front/src/compile_driver/_helpers/local_tests.rs # src/sqlbuild/.agents/skills/sqlbuild/references/docs/cli/scenario.md # src/sqlbuild/.agents/skills/sqlbuild/references/docs/concepts/project-configuration.md # src/sqlbuild/.agents/skills/sqlbuild/references/docs/concepts/scenarios.md # src/sqlbuild/executor/scenario/_helpers/local/execution.py # src/sqlbuild/executor/scenario/_helpers/local/snapshots.py # src/sqlbuild/executor/scenario/_helpers/local/sql.py # src/sqlbuild/executor/scenario/models.py # tests/e2e/src/sqlbuild/cli/commands/main/scenario/helpers.py # tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_scenario.py # tests/e2e/src/sqlbuild/cli/commands/main/sqlite/test_scenarios.py # tests/unit/src/sqlbuild/executor/scenario/_helpers/test_capture_columns.py # website/src/content/docs/docs/cli/scenario.mdx # website/src/content/docs/docs/concepts/project-configuration.mdx # website/src/content/docs/docs/concepts/scenarios.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
SQLQuack is released as SQLBabel. Local tests and scenarios convert Snowflake SQL through its Python package, which is now published as
sqlbabel0.39.0.Changes
sqlbabel==0.39.0replacessqlquack==0.25.0in the dependencies and inuv.lock; the lock changes nothing else.SBLcodes (SBL0003,SBL0008) and name SQLBabel, in the run-on summary,--verbosenotes, JSON and help.target/sqlbabel-cache. Whentarget/sqlquack-cachestill exists, the run prints one note on stderr saying it is no longer read and can be deleted.Verification
fensu checkpass; the retired-cache note has an e2e test.uv lockresolves only the sqlbabel packages, ruff passes, and the public-repository scan is clean. The full suites run in CI.