Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Common/FailPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ static struct InitFiu
ONCE(write_file_operation_fail_on_read) \
REGULAR(slowdown_parallel_replicas_local_plan_read) \
ONCE(iceberg_writes_cleanup) \
ONCE(iceberg_alter_catalog_update_metadata_fail) \
REGULAR(iceberg_alter_orphan_metadata_cleanup_fail) \
REGULAR(datalake_iceberg_metadata_create_fail) \
REGULAR(storage_cluster_read_sleep) \
ONCE(backup_add_empty_memory_table) \
PAUSEABLE_ONCE(backup_pause_on_start) \
Expand Down
3 changes: 2 additions & 1 deletion src/Databases/DataLake/GlueCatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,8 @@ bool GlueCatalog::updateSchema(
const String & table_name,
const String & new_metadata_path,
Poco::JSON::Object::Ptr /*new_schema*/,
Int32 /*previous_schema_id*/) const
Int32 /*previous_schema_id*/,
Poco::JSON::Object::Ptr /*full_metadata*/) const
{
return updateMetadata(namespace_name, table_name, new_metadata_path, nullptr);
}
Expand Down
3 changes: 2 additions & 1 deletion src/Databases/DataLake/GlueCatalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class GlueCatalog final : public ICatalog, private DB::WithContext
const String & table_name,
const String & new_metadata_path,
Poco::JSON::Object::Ptr new_schema,
Int32 previous_schema_id) const override;
Int32 previous_schema_id,
Poco::JSON::Object::Ptr full_metadata = nullptr) const override;

void dropTable(const String & namespace_name, const String & table_name) const override;

Expand Down
3 changes: 2 additions & 1 deletion src/Databases/DataLake/ICatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ bool ICatalog::updateSchema(
const String & /*table_name*/,
const String & /*new_metadata_path*/,
Poco::JSON::Object::Ptr /*new_schema*/,
Int32 /*previous_schema_id*/) const
Int32 /*previous_schema_id*/,
Poco::JSON::Object::Ptr /*full_metadata*/) const
{
throw DB::Exception(DB::ErrorCodes::NOT_IMPLEMENTED, "updateSchema is not implemented");
}
Expand Down
3 changes: 2 additions & 1 deletion src/Databases/DataLake/ICatalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ class ICatalog
const String & table_name,
const String & new_metadata_path,
Poco::JSON::Object::Ptr new_schema,
Int32 previous_schema_id) const;
Int32 previous_schema_id,
Poco::JSON::Object::Ptr full_metadata = nullptr) const;

/// Drop table from catalog.
virtual void dropTable(const String & namespace_name, const String & table_name) const;
Expand Down
Loading
Loading