Update DictionarySourceFactory.cpp

This commit is contained in:
alexey-milovidov 2018-10-10 02:21:19 +03:00 committed by GitHub
parent fe2c4e4102
commit 54e933f9dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ DictionarySourcePtr DictionarySourceFactory::create(
} }
else if ("jdbc" == source_type) else if ("jdbc" == source_type)
{ {
throw Exception{"Dictionary source of type `jdbc` is disabled until consistend dealing with nullable fields.", throw Exception{"Dictionary source of type `jdbc` is disabled until consistent support for nullable fields.",
ErrorCodes::SUPPORT_IS_DISABLED}; ErrorCodes::SUPPORT_IS_DISABLED};
// BridgeHelperPtr bridge = std::make_shared<XDBCBridgeHelper<JDBCBridgeMixin>>(config, context.getSettings().http_connection_timeout, config.getString(config_prefix + ".connection_string")); // BridgeHelperPtr bridge = std::make_shared<XDBCBridgeHelper<JDBCBridgeMixin>>(config, context.getSettings().http_connection_timeout, config.getString(config_prefix + ".connection_string"));
// return std::make_unique<XDBCDictionarySource>(dict_struct, config, config_prefix + ".jdbc", sample_block, context, bridge); // return std::make_unique<XDBCDictionarySource>(dict_struct, config, config_prefix + ".jdbc", sample_block, context, bridge);