Skip to content

Commit 1b4135f

Browse files
committed
nullopt format
1 parent c69dcbc commit 1b4135f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Storages/ObjectStorage/StorageObjectStorage.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <optional>
12
#include <thread>
23
#include <Core/ColumnWithTypeAndName.h>
34
#include <Storages/ObjectStorage/StorageObjectStorage.h>
@@ -507,7 +508,7 @@ SinkToStoragePtr StorageObjectStorage::import(
507508
destination_file_path,
508509
object_storage,
509510
configuration,
510-
format_settings,
511+
std::nullopt, /// passing nullopt to force rebuild for format_settings based on query context
511512
std::make_shared<const Block>(getInMemoryMetadataPtr()->getSampleBlock()),
512513
local_context);
513514
}

0 commit comments

Comments
 (0)