You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/02/04 00:31:03 UTC

[GitHub] [arrow] paleolimbot commented on a change in pull request #11971: ARROW-15040: [R] Enable write_csv_arrow to take a RecordBatchReader as input

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



##########
File path: r/R/csv.R
##########
@@ -707,7 +707,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:
       Neal should make the final call, but I think either is fine (if or when ARROW-15405 is a thing, it could be updated then too).




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org