r2evans opened a new issue, #40742:
URL: https://github.com/apache/arrow/issues/40742

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```r
   arrow::write_dataset(dataset = x, path = "...", partitioning = somekeys,
                            max_rows_per_file = 0L)
   # Error: Invalid: max_rows_per_group must be a positive number
   ```
   
   The document says 
   
   ```
   max_rows_per_file: maximum number of rows per file. If greater than 0
             then this will limit how many rows are placed in any single
             file. Default is 0L.
   
   min_rows_per_group: write the row groups to the disk when this number
             of rows have accumulated. Default is 0L.
   ```
   
   Two things:
   
   - the error references an argument that was not provided
   - either update the documentation or accept `0` as an acceptable argument 
(that just reasserts the behavior of "no limit")
   
   
   ### Component(s)
   
   R


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to