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

ASF GitHub Bot updated ARROW-17825:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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: 10.0.0
>
>          Time Spent: 10m
>  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)

Reply via email to