Removed unused function and fixed build after merge

This commit is contained in:
Smita Kulkarni 2023-08-03 14:32:03 +02:00
parent 68a10e7cae
commit 2a681f1577
3 changed files with 4 additions and 4 deletions

View File

@ -204,7 +204,6 @@ public:
{
return {callback(), {}};
}
size_t getTotalSize() const override { return 0; }
private:
ReadTaskCallback callback;

View File

@ -17,7 +17,7 @@ namespace DB
StoragePtr TableFunctionAzureBlobStorageCluster::executeImpl(
const ASTPtr & /*function*/, ContextPtr context,
const std::string & table_name, ColumnsDescription /*cached_columns*/) const
const std::string & table_name, ColumnsDescription /*cached_columns*/, bool is_insert_query) const
{
StoragePtr storage;
ColumnsDescription columns;
@ -32,7 +32,7 @@ StoragePtr TableFunctionAzureBlobStorageCluster::executeImpl(
columns = structure_hint;
}
auto client = StorageAzureBlob::createClient(configuration);
auto client = StorageAzureBlob::createClient(configuration, !is_insert_query);
auto settings = StorageAzureBlob::createSettings(context);
if (context->getClientInfo().query_kind == ClientInfo::QueryKind::SECONDARY_QUERY)

View File

@ -44,7 +44,8 @@ protected:
const ASTPtr & ast_function,
ContextPtr context,
const std::string & table_name,
ColumnsDescription cached_columns) const override;
ColumnsDescription cached_columns,
bool is_insert_query) const override;
const char * getStorageTypeName() const override { return "AzureBlobStorageCluster"; }
};