You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/10/18 14:53:00 UTC

[jira] [Updated] (ARROW-17825) [C++] Allow to write several tables successively with ORCFileWriter::Write method

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

Antoine Pitrou updated ARROW-17825:
-----------------------------------
    Fix Version/s: 11.0.0
                       (was: 10.0.0)

> [C++] Allow to write several tables successively with ORCFileWriter::Write method
> ---------------------------------------------------------------------------------
>
>                 Key: ARROW-17825
>                 URL: https://issues.apache.org/jira/browse/ARROW-17825
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Louis Calot
>            Assignee: Louis Calot
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.0.0
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> I had the need to write an ORC file little by little, so as to not consume too much memory.
> Following [this|https://github.com/apache/arrow/issues/14211] discussion, it appeared that the API did not seemed to prevent doing that, but that the internal implementation was not reusing the writer accordingly.
> This PR makes the needed changes to reuse the "writer_" correctly.
> I do not think that the preceding behaviour was correct, as calling several time the "Write" method would lead to incorrect ORC files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)