The cherry-pick of ClickHouse#100334 incorrectly wired the cluster table-function
branch of TableFunctionObjectStorage::executeImpl to call
configuration->getCatalog(context, StorageID(getDatabaseName(), table_name)).
ITableFunction::getDatabaseName returns the pseudo-database
_table_function, which does not exist in DatabaseCatalog, so
DataLakeConfiguration::getCatalog throws a LOGICAL_ERROR ("Database
_table_function not found"). In ASan/debug builds this aborts the
server, causing all subsequent tests in the shard to fail with
"Connection refused".
The non-cluster branch directly below already passes nullptr for the
catalog argument. Align the cluster branch with the same behavior, which
matches the upstream change_insert_interface branch.
Addresses 33 failing test(s) in Integration tests (amd_asan, db disk,
old analyzer, 2/6) on
#1800. After this fix the
still-failing set shrank from 33 -> 0.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Change the interface for Iceberg inserts with the catalog.
Deprecate settings: storage_catalog_type, storage_aws_access_key_id, etc (ClickHouse#100334 by @scanhex12).
Cherry-picked from ClickHouse#100334.
Documentation entry for user-facing changes