Skip to content

Commit

Permalink
fix loading of empty nested array (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
artpaul authored and filimonov committed Aug 11, 2020
1 parent 001a14e commit a3ad717
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clickhouse/columns/array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ void ColumnArray::Append(ColumnRef column) {
}

bool ColumnArray::Load(CodedInputStream* input, size_t rows) {
if (!rows) {
return true;
}
if (!offsets_->Load(input, rows)) {
return false;
}
Expand Down

0 comments on commit a3ad717

Please # to comment.