mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix end symbol
This commit is contained in:
parent
d85f6ae35d
commit
8f93df354e
@ -40,7 +40,11 @@ void writeNumpyStrings(const ColumnPtr & column, size_t length, WriteBuffer & bu
|
||||
{
|
||||
const auto * string_column = assert_cast<const ColumnType *>(column.get());
|
||||
for (size_t i = 0; i < string_column->size(); ++i)
|
||||
buf.write(string_column->getDataAt(i).data, length);
|
||||
{
|
||||
auto data = string_column->getDataAt(i);
|
||||
buf.write(data.data, data.size);
|
||||
writeChar(0, length - data.size, buf);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -52,9 +52,9 @@ array String
|
||||
[[0.1],[0.2]]
|
||||
[[0.1],[0.2]]
|
||||
[[0.1],[0.2]]
|
||||
[['abb','bbc'],['ccc','dddd']]
|
||||
[['abb','bbc'],['ccc','dddd']]
|
||||
[['abb','bbc'],['ccc','dddd']]
|
||||
[['a','bb'],['ccc','dddd']]
|
||||
[['a','bb'],['ccc','dddd']]
|
||||
[['a','bb'],['ccc','dddd']]
|
||||
array Array(Array(Array(Int8)))
|
||||
array Array(Array(Float64))
|
||||
array Array(Array(String))
|
||||
|
Loading…
Reference in New Issue
Block a user