You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2021/10/07 10:21:00 UTC

[jira] [Created] (ARROW-14252) [R] Partial matching of arguments warning

Nicola Crane created ARROW-14252:
------------------------------------

             Summary: [R] Partial matching of arguments warning
                 Key: ARROW-14252
                 URL: https://issues.apache.org/jira/browse/ARROW-14252
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
            Reporter: Nicola Crane
             Fix For: 7.0.0


There are a few examples of partially matched arguments in the code.  One example is below, but there could be others.

{code:r}
Failure (test-dplyr-query.R:46:3): dim() on query
`via_batch <- rlang::eval_tidy(expr, rlang::new_data_mask(rlang::env(input = record_batch(tbl))))` threw an unexpected warning.
Message: partial match of 'filtered' to 'filtered_rows'
Class:   simpleWarning/warning/condition
Backtrace:
  1. arrow:::expect_dplyr_equal(...) test-dplyr-query.R:46:2
 11. arrow::dim.arrow_dplyr_query(.)
 12. base::isTRUE(x$filtered) /Users/dragos/Documents/arrow/r/R/dplyr.R:147:2

Failure (test-dplyr-query.R:46:3): dim() on query
`via_table <- rlang::eval_tidy(expr, rlang::new_data_mask(rlang::env(input = Table$create(tbl))))` threw an unexpected warning.
Message: partial match of 'filtered' to 'filtered_rows'
Class:   simpleWarning/warning/condition
Backtrace:
  1. arrow:::expect_dplyr_equal(...) test-dplyr-query.R:46:2
 11. arrow::dim.arrow_dplyr_query(.)
 12. base::isTRUE(x$filtered) /Users/dragos/Documents/arrow/r/R/dplyr.R:147:2
{code}

This is the relevant line of code in the example above: https://github.com/apache/arrow/blob/25a6f591d1f162106b74e29870ebd4012e9874cc/r/R/dplyr.R#L150



--
This message was sent by Atlassian Jira
(v8.3.4#803005)