diff --git a/ydb/library/formats/arrow/accessor/abstract/accessor.h b/ydb/library/formats/arrow/accessor/abstract/accessor.h index 94d34636c578..6507201cb895 100644 --- a/ydb/library/formats/arrow/accessor/abstract/accessor.h +++ b/ydb/library/formats/arrow/accessor/abstract/accessor.h @@ -253,7 +253,7 @@ class IChunkedArray { if (position < chunkCurrent->GetFinishPosition()) { return accessor.OnArray( chunkCurrent->GetChunkIndex(), chunkCurrent->GetStartPosition()); - } else if (position == chunkCurrent->GetFinishPosition() + 1 && chunkCurrent->GetChunkIndex() + 1 < accessor.GetChunksCount()) { + } else if (position == chunkCurrent->GetFinishPosition() && chunkCurrent->GetChunkIndex() + 1 < accessor.GetChunksCount()) { return accessor.OnArray(chunkCurrent->GetChunkIndex() + 1, position); } AFL_VERIFY(chunkCurrent->GetChunkIndex() < accessor.GetChunksCount());