feat(destination): add Hotdata managed-database destination#4013
Open
eddietejeda wants to merge 2 commits into
Open
feat(destination): add Hotdata managed-database destination#4013eddietejeda wants to merge 2 commits into
eddietejeda wants to merge 2 commits into
Conversation
Ports the hotdata destination into dlt as a first-party destination. Hotdata uses parquet uploads to a managed database API with client-side merge logic implemented in Python/Arrow. Write dispositions: replace, append, merge, upsert, insert-only Replace strategies: truncate-and-insert Merge strategies: upsert, insert-only (dedup via _dlt_id fallback) Table nesting: unlimited (max_table_nesting=1000, configurable) State sync: WithStateSync β pipeline state, schema versioning, load tracking Metadata: all dlt columns preserved across user and internal tables Retry: exponential backoff with transient/terminal error classification Schema evolution: auto-recreates managed database with union of tables
runtimedb.local enforces lowercase [a-z0-9_] identifiers with __ as the nested table separator β exactly snake_case semantics. The direct convention passes identifiers through unchanged and uses βΆ as the separator, which the hotdata API rejects.
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.
Adds Hotdata as a first-party dlt destination:
Hotdata is a managed-database service that accepts Parquet uploads via HTTP API.
This destination implements
JobClientBaseandWithStateSync, the same interface as other non-SQL destinations, so it works with existing pipelines without code changes.Feature Support
replaceappendmerge / upsertinsert-onlytruncate-and-insert1000), configurable per destination_dlt_id,_dlt_load_id,_dlt_parent_id, etc. preservedWithStateSync; survives across runs_dlt_versionmanaged table_dlt_loadsmanaged tablecreate_database_if_missing408,409,425,429,5xxvs terminalsnake_caseconvention:[a-z0-9_]; nested tables asparent__childSqlJobClientBaseNew Files
Related Issues
N/A β new destination.
Additional Context
loader_parallelism_strategydefaults to table-sequential to prevent concurrent read-modify-write races on the same table.