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

[GLib] Parquet GLib and Red Parquet (Ruby) do not allow specifying compression type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.17.0
    • GLib
    • red-arrow 0.15.1
      red-parquet 0.15.1
      libarrow 0.15.1
      libparquet 0.15.1

    Description

      It seems that the ArrowFileWriter being used by parquet-glib just uses the default writer properties (https://github.com/apache/arrow/blob/master/c_glib/parquet-glib/arrow-file-writer.cpp#L184), and does not offer the user the ability to override this. As a consumer of the GLib API in Ruby (red-parquet), I therefore have no way of compressing Parquet columns. Of course, I can compress the entire file by doing something like t.save('...', format: 'parquet', compression: 'GZIP'), but this is not compatible with most tools and isn't the correct way of compressing a Parquet file.

      Attachments

        Issue Links

          Activity

            People

              shiro615 Yosuke Shiro
              ZiggyTheHamster Keith Gable
              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 - 4h 20m
                  4h 20m