mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Fix test
This commit is contained in:
parent
250ad8889e
commit
d1b6ccd437
@ -83,6 +83,7 @@ static const std::unordered_set<std::string_view> required_configuration_keys =
|
|||||||
static std::unordered_set<std::string_view> optional_configuration_keys = {
|
static std::unordered_set<std::string_view> optional_configuration_keys = {
|
||||||
"format",
|
"format",
|
||||||
"compression",
|
"compression",
|
||||||
|
"compression_method",
|
||||||
"structure",
|
"structure",
|
||||||
"access_key_id",
|
"access_key_id",
|
||||||
"secret_access_key",
|
"secret_access_key",
|
||||||
@ -1213,7 +1214,7 @@ void StorageS3::processNamedCollectionResult(StorageS3Configuration & configurat
|
|||||||
filename = collection.get<String>(key);
|
filename = collection.get<String>(key);
|
||||||
else if (key == "format")
|
else if (key == "format")
|
||||||
configuration.format = collection.get<String>(key);
|
configuration.format = collection.get<String>(key);
|
||||||
else if (key == "compression")
|
else if (key == "compression" || key == "compression_method")
|
||||||
configuration.compression_method = collection.get<String>(key);
|
configuration.compression_method = collection.get<String>(key);
|
||||||
else if (key == "structure")
|
else if (key == "structure")
|
||||||
configuration.structure = collection.get<String>(key);
|
configuration.structure = collection.get<String>(key);
|
||||||
|
Loading…
Reference in New Issue
Block a user