clang wants it

This commit is contained in:
Yakov Olkhovskiy 2023-03-29 03:50:21 +00:00
parent a03bf8568a
commit 211fa2117c

View File

@ -1395,7 +1395,7 @@ StoragePtr Context::executeTableFunction(const ASTPtr & table_expression, const
throw;
}
unsigned long use_structure_from_insertion_table_in_table_functions = getSettingsRef().use_structure_from_insertion_table_in_table_functions;
uint64_t use_structure_from_insertion_table_in_table_functions = getSettingsRef().use_structure_from_insertion_table_in_table_functions;
if (use_structure_from_insertion_table_in_table_functions && table_function_ptr->needStructureHint() && hasInsertionTable())
{
const auto & insert_structure = DatabaseCatalog::instance().getTable(getInsertionTable(), shared_from_this())->getInMemoryMetadataPtr()->getColumns();