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

[GitHub] [arrow-rs] tustvold opened a new issue, #3671: FFI Fails to Account For Offsets

tustvold opened a new issue, #3671:
URL: https://github.com/apache/arrow-rs/issues/3671

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   Passing an `ffi::ArrowArray` with a non-zero offset, results in an `ArrayData` with `Buffer` with truncated lengths, as it assumes they have no offset when recording their length.
   
   This is the cause of #3646
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   Sliced arrays should round-trip through FFI
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->
   
   I don't think this can result in UB, it just results in bounds checks failing when they shouldn't


-- 
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-rs] tustvold commented on issue #3671: FFI Fails to Account For Offsets

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3671:
URL: https://github.com/apache/arrow-rs/issues/3671#issuecomment-1426076977

   `label_issue.py` automatically added labels {'arrow'} from #3675


-- 
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-rs] viirya commented on issue #3671: FFI Fails to Account For Offsets

Posted by "viirya (via GitHub)" <gi...@apache.org>.
viirya commented on issue #3671:
URL: https://github.com/apache/arrow-rs/issues/3671#issuecomment-1420126772

   I will look at this.


-- 
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-rs] tustvold closed issue #3671: FFI Fails to Account For Offsets

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #3671: FFI Fails to Account For Offsets
URL: https://github.com/apache/arrow-rs/issues/3671


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