[
https://issues.apache.org/jira/browse/ARROW-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661057#comment-17661057
]
Rok Mihevc commented on ARROW-4034:
-----------------------------------
This issue has been migrated to [issue
#15905|https://github.com/apache/arrow/issues/15905] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Ruby] Interface for FileOutputStream doesn't respect append=True
> -----------------------------------------------------------------
>
> Key: ARROW-4034
> URL: https://issues.apache.org/jira/browse/ARROW-4034
> Project: Apache Arrow
> Issue Type: Bug
> Components: Ruby
> Environment: macOS High Sierra version 10.13.4; ruby 2.4.1; gtk-doc,
> gobject-introspection, boost, Arrow C++ & Parquet C++, Arrow GLib all
> installed via homebrew
> Reporter: Ian Murray
> Assignee: Kouhei Sutou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> It seems that the PR (#1978) that resolved Issue #2018 has not cascaded down
> through the existing ruby interface.
> I've been experimenting with variations of the `write-file.rb` examples, but
> passing in the append flag as true
> (`Arrow::FileOutputStream.open("/tmp/file.arrow", true)`) still results in
> overwriting the file, and trying the newer interface using truncate and
> append flags throws `ArgumentError: wrong number of arguments (3 for 2)`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)