You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/02/03 23:03:00 UTC
[jira] [Resolved] (ARROW-11066) [Java] Is there a bug in flight
AddWritableBuffer
[ https://issues.apache.org/jira/browse/ARROW-11066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li resolved ARROW-11066.
------------------------------
Resolution: Fixed
Issue resolved by pull request 9387
[https://github.com/apache/arrow/pull/9387]
> [Java] Is there a bug in flight AddWritableBuffer
> -------------------------------------------------
>
> Key: ARROW-11066
> URL: https://issues.apache.org/jira/browse/ARROW-11066
> Project: Apache Arrow
> Issue Type: Bug
> Components: FlightRPC, Java
> Affects Versions: 1.0.0
> Reporter: Kangping Huang
> Assignee: David Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/arrow/blob/9bab12f03ac486bb8270f031b83f0a0411766b3e/java/flight/flight-core/src/main/java/org/apache/arrow/flight/grpc/AddWritableBuffer.java#L94]
> buf.readBytes(stream, buf.readableBytes());
> is this line redundant
> In my perf.svg, this will copy the data from buf to OutputStream, which can not realize zero-copy.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)