You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/22 12:17:19 UTC

[GitHub] [arrow] jorgecarleitao commented on a change in pull request #12019: (docs) Clarify that offsets are monotonic for binary like arrays

jorgecarleitao commented on a change in pull request #12019:
URL: https://github.com/apache/arrow/pull/12019#discussion_r773843991



##########
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 monotonic, that is `offsets[j+1] >= offsets[j]` for
+`0 <= j < length`, even for null vaues. This property ensures the

Review comment:
       ```suggestion
   `0 <= j < length`, even for null values. This property ensures the
   ```




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org