Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14252

[R] Partial matching of arguments warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • R

    Description

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

      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
      

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

      Attachments

        Issue Links

          Activity

            People

              dragosmg Dragoș Moldovan-Grünfeld
              thisisnic Nicola Crane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m