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



##########
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:
       They can't yet; there are some open tickets about this:
   
   * [ARROW-14742: [C++] Allow ParquetWriter to take a RecordBatchReader as 
input](https://issues.apache.org/jira/browse/ARROW-14742)
   * [ARROW-15405: [R] Allow all file writers to write from a 
RecordBatchReader](https://issues.apache.org/jira/browse/ARROW-15405)




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