diff --git a/cpp/velox/utils/ConfigExtractor.cc b/cpp/velox/utils/ConfigExtractor.cc index 64265a9f50a8..4189df758f39 100644 --- a/cpp/velox/utils/ConfigExtractor.cc +++ b/cpp/velox/utils/ConfigExtractor.cc @@ -179,18 +179,6 @@ std::shared_ptr getHiveConfig( } #endif -#ifdef ENABLE_ABFS - const auto& confValue = conf->rawConfigsCopy(); - for (auto& [k, v] : confValue) { - if (k.find("fs.azure.account.key") == 0) { - connectorConfMap[k] = v; - } else if (k.find("spark.hadoop.fs.azure.account.key") == 0) { - constexpr int32_t accountKeyPrefixLength = 13; - connectorConfMap[k.substr(accountKeyPrefixLength)] = std::string(v); - } - } -#endif - hiveConfMap[facebook::velox::connector::hive::HiveConfig::kEnableFileHandleCache] = conf->get(kVeloxFileHandleCacheEnabled, kVeloxFileHandleCacheEnabledDefault) ? "true" : "false";