You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Yosuke Shiro (JIRA)" <ji...@apache.org> on 2018/12/17 00:58:00 UTC
[jira] [Resolved] (ARROW-4034) [Ruby] Interface for
FileOutputStream doesn't respect append=True
[ https://issues.apache.org/jira/browse/ARROW-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yosuke Shiro resolved ARROW-4034.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Issue resolved by pull request 3193
[https://github.com/apache/arrow/pull/3193]
> [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: 0.5h
> 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
(v7.6.3#76005)