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

[R] Improve UX of write_dataset(..., max_rows_per_group)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.0.0
    • R

    Description

      When using write_dataset(), if we set max_rows_per_file without also setting max_rows_per_group, we always get the error shown below.

      library(arrow)
      td <- tempfile()
      dir.create(td)
      write_dataset(mtcars, td, max_rows_per_file = 5L)
      #> Error: Invalid: max_rows_per_group must be less than or equal to max_rows_per_file
      

      We should change the behaviour so we can specify one without having to also specify the other.

      Attachments

        Issue Links

          Activity

            People

              assignuser Jacob Wujciak
              thisisnic Nicola Crane
              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 - 1h
                  1h