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

[R] Can't use dplyr filter() with variables defined in parent scope

    XMLWordPrintableJSON

Details

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

    Description

      The following will generate an error

      test_that("filtering with expression", {
        char_sym <- "b"                       
        expect_dplyr_equal(                   
          input %>%                           
            filter(chr == char_sym) %>%       
            select(string = chr, int) %>%     
            collect(),                        
          tbl                                 
        )                                     
      })                                      
      
      

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              fsaintjacques Francois Saint-Jacques
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 20m
                  1h 20m