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/07/28 15:23:56 UTC

[GitHub] [arrow] pitrou commented on a change in pull request #9794: ARROW-10580: [C++] Disallow non-monotonic dense union offsets

pitrou commented on a change in pull request #9794:
URL: https://github.com/apache/arrow/pull/9794#discussion_r678409598



##########
File path: cpp/src/arrow/array/validate.cc
##########
@@ -541,6 +542,11 @@ struct ValidateArrayFullImpl {
                                  "than child length (",
                                  offset, " >= ", child_lengths[code], ")");
         }
+        if (offset < last_child_offsets[code]) {

Review comment:
       @bkietz Notice this allows equality ;-)




-- 
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