mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
upd
This commit is contained in:
parent
6358dac156
commit
75547ea2d5
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -381,5 +381,4 @@
|
|||||||
url = https://github.com/ClickHouse/numactl.git
|
url = https://github.com/ClickHouse/numactl.git
|
||||||
[submodule "contrib/mongo-c-driver"]
|
[submodule "contrib/mongo-c-driver"]
|
||||||
path = contrib/mongo-c-driver
|
path = contrib/mongo-c-driver
|
||||||
url = https://github.com/allmazz/mongo-c-driver.git
|
url = https://github.com/ClickHouse/mongo-c-driver.git
|
||||||
branch = freebsd-compatability
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <Processors/Sources/MongoDBSource.h>
|
#include <Processors/Sources/MongoDBSource.h>
|
||||||
#include <Storages/NamedCollectionsHelpers.h>
|
#include <Storages/NamedCollectionsHelpers.h>
|
||||||
|
|
||||||
#include <Storages/ExternalDataSourceConfiguration.h>
|
|
||||||
#include <Storages/StorageMongoDBSocketFactory.h>
|
|
||||||
#include <bsoncxx/builder/basic/array.hpp>
|
#include <bsoncxx/builder/basic/array.hpp>
|
||||||
|
|
||||||
using bsoncxx::builder::basic::kvp;
|
using bsoncxx::builder::basic::kvp;
|
||||||
|
@ -258,7 +258,7 @@ QueryPipeline MongoDBPocoLegacyDictionarySource::loadKeys(const Columns & key_co
|
|||||||
}
|
}
|
||||||
case AttributeUnderlyingType::String:
|
case AttributeUnderlyingType::String:
|
||||||
{
|
{
|
||||||
String loaded_str((*key_columns[attribute_index])[row_idx].get<String>());
|
String loaded_str((*key_columns[attribute_index])[row_idx].safeGet<String>());
|
||||||
/// Convert string to ObjectID
|
/// Convert string to ObjectID
|
||||||
if (key_attribute.is_object_id)
|
if (key_attribute.is_object_id)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user