pitrou commented on a change in pull request #12019:
URL: https://github.com/apache/arrow/pull/12019#discussion_r778202893
##########
File path: docs/source/format/Columnar.rst
##########
@@ -309,7 +309,11 @@ That is, a null value may occupy a **non-empty** memory
space in the data
buffer. When this is true, the content of the corresponding memory space
is undefined.
-Generally the first value in the offsets array is 0, and the last slot
+Offsets must be monotonically increasing, that is `offsets[j+1] >= offsets[j]`
for
+`0 <= j < length`, even for null slots. This property ensures the
+**location** for all values is valid and well defined.
Review comment:
```suggestion
Offsets must be monotonically increasing, that is ``offsets[j+1] >=
offsets[j]``
for ``0 <= j < length``, even for null slots. This property ensures the
location for all values is valid and well defined.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]