Skip to content
Merged
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
2 changes: 2 additions & 0 deletions src/Common/FailPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ static struct InitFiu
REGULAR(slowdown_skip_index_read_result_build) \
ONCE(iceberg_writes_cleanup) \
REGULAR(iceberg_slow_manifest_read) \
ONCE(iceberg_alter_catalog_update_schema_fail) \
ONCE(iceberg_alter_catalog_commit_reported_as_failed) \
REGULAR(storage_cluster_read_sleep) \
ONCE(iceberg_writes_non_retry_cleanup) \
ONCE(iceberg_writes_post_publish_throw) \
Expand Down
4 changes: 3 additions & 1 deletion src/Databases/DataLake/GlueCatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,9 @@ 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*/,
Int32 /*new_last_column_id*/,
Poco::JSON::Object::Ptr /*metadata*/) const
{
std::vector<Aws::Glue::Model::Column> columns;
if (new_schema)
Expand Down
4 changes: 3 additions & 1 deletion src/Databases/DataLake/GlueCatalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ 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,
Int32 new_last_column_id,
Poco::JSON::Object::Ptr metadata = nullptr) const override;

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

Expand Down
4 changes: 3 additions & 1 deletion src/Databases/DataLake/ICatalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ 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*/,
Int32 /*new_last_column_id*/,
Poco::JSON::Object::Ptr /*metadata*/) const
{
throw DB::Exception(DB::ErrorCodes::NOT_IMPLEMENTED, "updateSchema is not implemented");
}
Expand Down
4 changes: 3 additions & 1 deletion src/Databases/DataLake/ICatalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ 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,
Int32 new_last_column_id,
Poco::JSON::Object::Ptr metadata = nullptr) const;

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