nealrichardson commented on a change in pull request #11971:
URL: https://github.com/apache/arrow/pull/11971#discussion_r796627826



##########
File path: r/R/csv.R
##########
@@ -692,7 +692,7 @@ write_csv_arrow <- function(x,
     x <- Table$create(x)
   }
 
-  assert_that(is_writable_table(x))
+  assert_that(is_writable_table(x) | inherits(x, "FileSystemDataset"))

Review comment:
       Probably want this check moved inside `is_writeable_table()`, assuming 
that every other writer can take RecordBatchReaders (they should).




-- 
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