jhorstmann commented on code in PR #2557:
URL: https://github.com/apache/arrow-rs/pull/2557#discussion_r952877871
##########
integration-testing/src/flight_server_scenarios/integration_test.rs:
##########
@@ -354,7 +355,7 @@ async fn save_uploaded_chunks(
let batch = record_batch_from_message(
message,
- &data.data_body,
+ &Buffer::from(data.data_body),
Review Comment:
Right, forgot about alignment. That would only work if the ipc buffer is
properly aligned for the type. I don't know what the requirements about that
are, so the suggestion might be a bit fragile, or would need to check the
alignment and do a copy as a fallback.
--
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]