Skip to content

feat: Automatically create databases - #235

Open
Tobias Cadée (tobiascadee) wants to merge 12 commits into
shaped-ai:mainfrom
TicketSwap:main
Open

feat: Automatically create databases#235
Tobias Cadée (tobiascadee) wants to merge 12 commits into
shaped-ai:mainfrom
TicketSwap:main

Conversation

@tobiascadee

Copy link
Copy Markdown

Summary

Removes the custom prepare_schema override that was a no-op, allowing the default Singer SDK prepare_schema implementation to run. This enables automatic database creation in ClickHouse when the target database does not yet exist.

Changes

  • Removed the prepare_schema no-op override in ClickhouseConnector, falling back to the default SDK behavior which creates the schema/database automatically.
  • Minor formatting cleanup in prepare_column.

…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]
- 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
fix: use OPTIMIZE TABLE FINAL with alter_sync=1 for synchronous deduplication
…mize-statement

Bugfix/fix-indentation-for-optimize-statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant