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 2021/04/09 13:06:07 UTC

[GitHub] [arrow] ianmcook commented on a change in pull request #9958: ARROW-11328: [R] Collecting zero columns from a dataset returns entire dataset

ianmcook commented on a change in pull request #9958:
URL: https://github.com/apache/arrow/pull/9958#discussion_r610610094



##########
File path: r/tests/testthat/test-dataset.R
##########
@@ -1767,3 +1767,13 @@ test_that("Dataset writing: unsupported features/input validation", {
     write_dataset(ds, tempfile(), basename_template = NULL)
   )
 })
+
+# see https://issues.apache.org/jira/browse/ARROW-11328
+test_that("Collecting zero columns from a dataset doesn't return entire dataset", {
+  tmp <- tempfile()

Review comment:
       Since this test writes and reads a Parquet file, we need to skip it if the Arrow C++ library was not built with Parquet
   ```suggestion
     skip_if_not_available("parquet")
     tmp <- tempfile()
   ```




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

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