bkietz opened a new pull request, #7109:
URL: https://github.com/apache/arrow-rs/pull/7109
# Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases. You can
link an issue to this PR using the GitHub syntax. For example `Closes #123`
indicates that this PR will close issue #123.
-->
Closes #7058
# Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly in
the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your
changes and offer better suggestions for fixes.
-->
[flatbuffers::size_prefixed_root](https://docs.rs/flatbuffers/latest/flatbuffers/fn.size_prefixed_root.html)
does not seem to do what was originally expected. Replacing it with more
explicit code for handling an encapsulated message prefix seems to resolve the
case of interest.
# What changes are included in this PR?
Usage of `size_prefixed_root` ( there was only one call, introduced in
https://github.com/apache/arrow-rs/pull/2586 ) is replaced with manual prefixed
length wrangling. A unit test is added
# Are there any user-facing changes?
No
Maybe the error messages?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]