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

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: GLib
    • Environment:
      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

              • Assignee:
                shiro615 Yosuke Shiro
                Reporter:
                ZiggyTheHamster Keith Gable
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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