Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4034

[Ruby] Interface for FileOutputStream doesn't respect append=True

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Ruby
    • 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

    Description

      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)`.

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              ismurray Ian Murray
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m