[ 
https://issues.apache.org/jira/browse/ARROW-15626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kouhei Sutou reassigned ARROW-15626:
------------------------------------

    Assignee: Rob Saccoccio

> [GLib] GIOInputStream can return short reads
> --------------------------------------------
>
>                 Key: ARROW-15626
>                 URL: https://issues.apache.org/jira/browse/ARROW-15626
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: GLib
>    Affects Versions: 6.0.0, 7.0.0
>         Environment: All unix based platforms.
>            Reporter: Rob Saccoccio
>            Assignee: Rob Saccoccio
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The Read() methods in c_glib/arrow-glib/input-stream.cpp:GIOInputStream can 
> return short when used with a GInputStream that can return short reads (such 
> as a socket), e.g.
> {code:c}
> GInputStream *gis = g_unix_input_stream_new(socket_fd, FALSE);
> GArrowGIOInputStream *is = garrow_gio_input_stream_new(gis);
> GArrowRecordBatchStreamReader *stream_reader =
>             garrow_record_batch_stream_reader_new(
>                     GARROW_INPUT_STREAM(is), &gerr);
> {code}
> This causes failure in the RecordBatchReader.
> I have a patch and will post a PR shortly.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to