feat: Automatically create databases - #235
Open
Tobias Cadée (tobiascadee) wants to merge 12 commits into
Open
Conversation
…abase feat: Automatically create databases
- Replace Poetry-based pyproject.toml with PEP 621 project metadata - Use uv as the build backend with uv_build - Move dev dependencies to dependency-groups - Replace poetry.lock with uv.lock - Move clickhouse-sqlalchemy git source to [tool.uv.sources]
chore: migrate from Poetry to uv
- Update singer-sdk from >=0.40,<0.45 to >=0.40,<0.54 - Update requires-python from <3.12,>=3.8.0 to >=3.10,<3.14 - Update pytest from >=7.4.3,<8 to >=9,<10 (required by singer-sdk[testing]) - Update classifiers to reflect Python 3.10-3.13 support
chore: update singer-sdk to 0.53.5
…lication Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
fix: use OPTIMIZE TABLE FINAL with alter_sync=1 for synchronous deduplication
…mize-statement Bugfix/fix-indentation-for-optimize-statement
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.
Summary
Removes the custom
prepare_schemaoverride that was a no-op, allowing the default Singer SDKprepare_schemaimplementation to run. This enables automatic database creation in ClickHouse when the target database does not yet exist.Changes
prepare_schemano-op override inClickhouseConnector, falling back to the default SDK behavior which creates the schema/database automatically.prepare_column.