mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
remove unnecessary check for HDFS load config
This commit is contained in:
parent
b504df80b7
commit
a2fd3a4de8
@ -145,10 +145,7 @@ HDFSBuilderWrapper createHDFSBuilder(const String & uri_str, const Poco::Util::A
|
||||
hdfsBuilderSetNameNodePort(builder.get(), port);
|
||||
}
|
||||
|
||||
if (config.has(std::string(CONFIG_PREFIX)))
|
||||
{
|
||||
builder.loadFromConfig(config, std::string(CONFIG_PREFIX));
|
||||
}
|
||||
builder.loadFromConfig(config, std::string(CONFIG_PREFIX));
|
||||
|
||||
if (!user.empty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user