Skip to content

Commit

Permalink
Update array.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Enmk authored Nov 15, 2023
1 parent fd3e526 commit 1ed32e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clickhouse/columns/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class ColumnArrayT : public ColumnArray {
if (index >= Size())
throw ValidationError("ColumnArray row index out of bounds: "
+ std::to_string(index) + ", max is " + std::to_string(Size()));

It is actually not, b
return ArrayValueView{typed_nested_data_, GetOffset(index), GetSize(index)};
}

Expand All @@ -269,7 +269,6 @@ class ColumnArrayT : public ColumnArray {
else {
Append(std::make_move_iterator(std::begin(container)),
std::make_move_iterator(std::end(container)));
container.clear();
}
}

Expand Down

0 comments on commit 1ed32e4

Please sign in to comment.