You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/03/30 12:53:40 UTC

[GitHub] [arrow-nanoarrow] paleolimbot opened a new issue, #178: Complete full validation support for union arrays with custom type IDs

paleolimbot opened a new issue, #178:
URL: https://github.com/apache/arrow-nanoarrow/issues/178

   As noted in #177, when the ArrowArrayXXX functions are used to construct a union array by buffer, spurious validation failures can occur when using ArrowArrayFinishBuilding() if the union array has custom type IDs that are not 0...n_children-1. This is because the ArrowArray private data doesn't currently have a place to put the type id map, so when constructing the array using ArrowArrayInitFromType() there is no way to pass on the type id map.
   
   There are a few ways to work around this...probably the most straightforward is to just support custom type ids in the ArrowArray private data and add ArrowArrayInitFromArrayView() so that we can properly pass them on.


-- 
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.apache.org

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


[GitHub] [arrow-nanoarrow] paleolimbot commented on issue #178: Complete full validation support for union arrays with custom type IDs

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #178:
URL: https://github.com/apache/arrow-nanoarrow/issues/178#issuecomment-1490627935

   ...also we could validate the "every child has strictly increasing offsets" constraint, although that's not a "we're going to segfault if the buffer gets corrupted" problem so maybe it's a different category of validation.


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


[GitHub] [arrow-nanoarrow] paleolimbot closed issue #178: Complete full validation support for union arrays with custom type IDs

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #178: Complete full validation support for union arrays with custom type IDs
URL: https://github.com/apache/arrow-nanoarrow/issues/178


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