mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
Update MsgPack input format.
This commit is contained in:
parent
9860ffee51
commit
e46322fcef
@ -119,8 +119,8 @@ void MsgPackRowInputFormat::insertObject(IColumn & column, DataTypePtr data_type
|
|||||||
case TypeIndex::FixedString: [[fallthrough]];
|
case TypeIndex::FixedString: [[fallthrough]];
|
||||||
case TypeIndex::String:
|
case TypeIndex::String:
|
||||||
{
|
{
|
||||||
String str = object.as<String>();
|
msgpack::object_str obj_str = object.via.str;
|
||||||
column.insertData(str.data(), str.size());
|
column.insertData(obj_str.ptr, obj_str.size);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case TypeIndex::Array:
|
case TypeIndex::Array:
|
||||||
|
Loading…
Reference in New Issue
Block a user