This commit is contained in:
kssenii 2024-05-14 18:46:35 +02:00
parent 3778cee49e
commit be693ceba7

View File

@ -402,7 +402,6 @@ void StorageObjectStorage::Configuration::initialize(
else else
configuration.fromAST(engine_args, local_context, with_table_structure); configuration.fromAST(engine_args, local_context, with_table_structure);
// FIXME: it should be - if (format == "auto" && get_format_from_file)
if (configuration.format == "auto") if (configuration.format == "auto")
configuration.format = FormatFactory::instance().tryGetFormatFromFileName(configuration.getPath()).value_or("auto"); configuration.format = FormatFactory::instance().tryGetFormatFromFileName(configuration.getPath()).value_or("auto");
else else