[
https://issues.apache.org/jira/browse/ARROW-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-1647:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/17656
> [Plasma] Potential bug when reading/writing messages.
> -----------------------------------------------------
>
> Key: ARROW-1647
> URL: https://issues.apache.org/jira/browse/ARROW-1647
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++ - Plasma
> Reporter: Robert Nishihara
> Assignee: Robert Nishihara
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> When we write the "length" field, it is an {{int64_t}}. See
> https://github.com/apache/arrow/blob/dc129d60fbffbf3a5b71b1f7987f7dab948b3d61/cpp/src/plasma/io.cc#L63.
> However, when we read the "length" field, it is a {{size_t}}. See
> https://github.com/apache/arrow/blob/dc129d60fbffbf3a5b71b1f7987f7dab948b3d61/cpp/src/plasma/io.cc#L98.
> I'm not sure if this is a bug, but it looks like it might be. And I suspect
> there is an issue somewhere in this area because a couple Ray users on
> non-standard platforms have reported issues with a check failure at
> https://github.com/apache/arrow/blob/dc129d60fbffbf3a5b71b1f7987f7dab948b3d61/cpp/src/plasma/io.cc#L94.
> See https://github.com/ray-project/ray/issues/1008.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)