You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2019/02/25 21:27:14 UTC

[arrow] branch master updated: ARROW-4647: [R] change f to file in read_parquet_file()

This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new a2e8fee  ARROW-4647: [R] change f to file in read_parquet_file()
a2e8fee is described below

commit a2e8fee85cfb99aeda856eba8409d5988ba59a57
Author: Brandon Greenwell <gr...@gmail.com>
AuthorDate: Mon Feb 25 15:26:17 2019 -0600

    ARROW-4647: [R] change f to file in read_parquet_file()
    
    Otherwise you get the following error:
    ```
    Error in read_parquet_file(f) : object 'f' not found
    ```
    
    Author: Brandon Greenwell <gr...@gmail.com>
    
    Closes #3703 from bgreenwell/patch-1 and squashes the following commits:
    
    bda541b8 <Brandon Greenwell> :bug: change f to file in read_parquet_file()
---
 r/R/parquet.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/r/R/parquet.R b/r/R/parquet.R
index 6a393e2..64dc1cd 100644
--- a/r/R/parquet.R
+++ b/r/R/parquet.R
@@ -26,7 +26,7 @@
 #'
 #' @export
 read_parquet <- function(file, as_tibble = TRUE, use_threads = TRUE, ...) {
-  tab <- shared_ptr(`arrow::Table`, read_parquet_file(f))
+  tab <- shared_ptr(`arrow::Table`, read_parquet_file(file))
   if (isTRUE(as_tibble)) {
     tab <- as_tibble(tab, use_threads = use_threads)
   }