feat: read-modify-write loads using hotdata 0.2.2#1
Merged
Conversation
Replace SQL append/merge staging with SELECT + in-memory merge and load_managed_table(replace). Use dlt parquet file mode, per-resource write_disposition/primary_key, declared_tables, and synced-table checks. Require hotdata>=0.2.2 for ApiClient.close().
Fix GitHub Release action pin, add workflow_dispatch recovery, and document 0.3.0 changes in CHANGELOG.
First PyPI release with read-modify-write managed database loads.
Reject unknown write_disposition values explicitly and drop brittle "not found" string matching from fetch_table_rows now that synced-table checks cover the empty-table case.
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
SELECT,upload_parquet,load_managed_table(replace))batch_size=0) and honor per-resourcewrite_disposition/primary_keydeclared_tablesfor multi-table managed DB creationSELECTon unsynced tables (API returns 500 before first load)hotdata>=0.2.2forApiClient.close()Test plan
uv run ruff check .uv run pytest(21 passed)uv run pytest tests/test_e2e_linear_hotdata.py -m integration(passed against live Hotdata + Linear)