Skip to content

Commit 8594bb0

Browse files
committed
load avro when committing first snapshot
1 parent 7f9c82d commit 8594bb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

extension_config.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ duckdb_extension_load(ducklake
1818
duckdb_extension_load(avro
1919
LOAD_TESTS
2020
GIT_URL https://github.com/duckdb/duckdb-avro
21-
GIT_TAG 0d7af391bd0aa201b2bdcfb994b7a575ad810155
22-
APPLY_PATCHES
21+
GIT_TAG 0c97a61781f63f8c5444cf3e0c6881ecbaa9fe13
2322
)
2423

2524
if (NOT EMSCRIPTEN)

src/storage/table_update/iceberg_add_snapshot.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ rest_api_objects::TableUpdate IcebergAddSnapshot::CreateSetSnapshotRefUpdate() {
4545
}
4646

4747
void IcebergAddSnapshot::CreateUpdate(DatabaseInstance &db, ClientContext &context, IcebergCommitState &commit_state) {
48+
// load avro so we can get
49+
ExtensionHelper::AutoLoadExtension(instance, "avro");
4850
auto &system_catalog = Catalog::GetSystemCatalog(db);
4951
auto data = CatalogTransaction::GetSystemTransaction(db);
5052
auto &schema = system_catalog.GetSchema(data, DEFAULT_SCHEMA);

0 commit comments

Comments
 (0)