You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHubβs verified signature.
dlt 1.33.0 Release Notes
Behavioral Changes
Caused by bug fixes
Follow-up SQL jobs run in a transaction (#4720@rudolfix) β Merge, scd2, upsert and replace from staging were not atomic on duckdb, motherduck, ducklake, snowflake and bigquery. On bigquery a concurrent load of the same table fails and is retried after 5 s instead of waiting in a queue. Set use_transactions_for_sql_jobs=False to turn transactions off.
run() finishes a pending package abort before it extracts (#4723@rudolfix)
A nested table whose write disposition does not match its root raises SchemaCorruptedException (#4585@RahulkumarRV) β Before, a merge nested table under a replace or append root left its rows in the staging dataset. Give the nested table a primary key to decouple it.
The sql_database pyarrow backend loads json documents as they are (#4709@rudolfix) β scd2 tables that hash such columns re-version their rows once after the upgrade.
ibis expressions on a dataset return tz-aware timestamps (#4703@rudolfix)
qdrant without a dataset name truncates on replace and refresh="drop_data" (#4546@Goodnight77) β Before, it appended to the old data.
A decimal column with precision and no scale gets scale 0, like in SQL (#4653@rudolfix) β Before, new columns got the default scale of the destination. A scale without precision is ignored.
snowflake returns an empty arrow table for an empty result (#4725@rudolfix) β Before, it returned None.
Caused by new features
dlt init no longer updates a verified source that is already in the project (#4714@rudolfix) β It fails and points to dlt init <source> --update / dlthub pipeline update <source>.
dlthub pipeline update <source> and dlt init <source> --update update only the files of the source, not config, secrets or pipeline scripts.
Local edits are merged three-way. You resolve conflicts with --on-conflict keep-current | keep-incoming | skip.
dlthub pipeline update -l lists installed sources with their installed and newest versions.
Atomic, retry-safe follow-up jobs (#4720@rudolfix) β Merge, scd2, upsert and replace from staging no longer leave empty or half-updated tables when a job fails or the loader crashes.
Retries for dltHub jobs (#4690, #4651@schrodervictor) β @run.job, @run.pipeline and @run.agent take retry=3 or a full policy with delays and backoff. Launchers exit with code 75 on connection and timeout errors.
DuckDB 2 (#4600@Travior) β The duckdb and ducklake extras accept DuckDB 2. motherduck stays on 1.x until MotherDuck supports it.
servicenow_table loads any table from the Table API or the CSV export, merges changes incrementally with deletes, and reads large tables in parallel.
sharepoint_list syncs lists with Graph delta queries. sharepoint_files reads csv, jsonl, parquet and excel files from document libraries.
kafka: typed messages with the Schema Registry (dlt-hub/verified-sources#733@rudolfix) β JsonProcessor and AvroProcessor take column types from the registry. Credentials cover SASL, mTLS, OAuth, Azure Event Hubs and Amazon MSK IAM.
Core Library
dlthub init in existing projects (#4653@rudolfix) β It asks first, then adds missing .gitignore entries and dependencies. --overwrite replaces the scaffold.
AI harness for Cortex Code (#4653@rudolfix) β Toolkits can be visible per agent and can add or remove MCP feature groups.
Snowflake connection_name and Snowpark containers (#4653@rudolfix) β dlt picks a connection from connections.toml and reads the session token in a Snowpark container. dbt gets the real credentials.
Lineage failures name the query sources and the resource (#4653@rudolfix)
LoadInfo.has_data (#4725@rudolfix) β It is True when any load package loaded a data table, and False when only dlt tables were loaded.
DuckDB reads gs:// natively (#4625@rudolfix) β ducklake, filesystem datasets and iceberg scan GCS about 3x faster, and tokens are refreshed on long-lived connections. Filesystem datasets on gs:// work in cross-destination joins.
Filesystem {noext} placeholder (#4639@Travior) β Writes files named after tables without an extension (#4402).
Fix: interrupted package aborts finish without losing data (#4723@rudolfix) β The next run resumes the abort, so the incremental state is rewound and the aborted rows load again.
Fix: the destination sync keeps the pending packages of a pipeline that never reached the destination (#4723@rudolfix)
Fix: snowflake no longer commits the deletes of a merge before its inserts run (#4720@rudolfix)
Fix: a retried snowflake atomic swap, clickhouse staging-optimized replace or athena iceberg append no longer swaps a table back or copies it twice (#4720@rudolfix)
Fix: mssql reports failed statements of a batch, and staging-optimized replace no longer deadlocks with other jobs of the load (#4720@rudolfix)
Fix: add_limit cuts off the extract pipe (#4626@rudolfix) β Items past the limit no longer advance the incremental cursor.
Fix: parallelized resources run on the extract pool also when called with arguments (#4653@rudolfix)
Fix: dlt.current returns the running resource, its source and its state in parallel and async resources (#4653@rudolfix)
Fix: with_table_name marks work on resources with dynamic hints or a table_name hint, in select_tables and in table variants (#4653@rudolfix)
Fix: Arrow incremental keeps newer rows that share a primary key with a boundary row (#4685@industriverse)
Fix: Arrow batches without cursor values no longer close the source or move the incremental range (#4722@rudolfix)
Fix: Arrow dlt columns and empty primary key dedup (#4721@rudolfix)
Fix: overriding a default incremental keeps range_start, range_end and on_cursor_value_missing (#4483@developer-rpai)
Fix: the sql_database pyarrow backend no longer pads json documents with keys of other rows (#4709@rudolfix, fix by @tushar-mahalya) β This was a regression since 1.16.0.
Fix: decimal and wei precision resolve like SQL in tables and arrow schemas (#4653@rudolfix)
Fix: tables with the _dlt prefix are kept when the naming convention changes (#4653@rudolfix)
Fix: schema diagrams find dlt tables under any naming convention (#4653@rudolfix)
Fix: Relation.where() coerces values to the column type and keeps timestamp timezones (#4703@rudolfix)
Fix: Dataset.row_counts() returns no rows instead of failing when no table is selected (#4725@rudolfix)
Fix: snowflake returns an empty arrow table with the result columns for an empty result (#4725@rudolfix)
Fix: multi-file iceberg, delta and lance loads on filesystem keep columns that first appear in later files (#4680@TejasLamba2006)
Fix: mismatched nested table merge dispositions no longer lose data (#4585@RahulkumarRV)
Fix: refresh no longer creates an empty staging dataset (#4665@zilto) β Dropping tables needs no CREATE SCHEMA permission.
Fix: dropping tables works when the staging dataset has no version table (#4631@sdebruyn)
Fix: SQL clients, connection pools and engines are freed without a garbage collector pass (#4653@rudolfix)
mongodb 1.0.0 (dlt-hub/verified-sources#726@rudolfix) β Fixes Arrow loading with pymongoarrow>=1.6, and loads large collections faster with _id partitions and network compression.
salesforce 1.2.0 (dlt-hub/verified-sources#736@rudolfix) β Bulk result chunks download in parallel, and a broken download resumes after the records already read.