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

[R] left_join by argument error message mismatch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 7.0.0
    • R

    Description

      We should use the dplyr error message which is clear when the "by" argument to joins is not correctly specified.

      > left_join(iris, iris, by  = "made_up_colname")
      Error: Join columns must be present in data.
      x Problem with `made_up_colname`.
      Run `rlang::last_error()` to see where the error occurred.
      
      > left_join(arrow_table(iris), arrow_table(iris), by = "made_up_colname")
      Error in handle_join_by(by, x, y) : 
        all(names(by) %in% names(x)) is not TRUE
      

      Attachments

        Issue Links

          Activity

            People

              dragosmg Dragoș Moldovan-Grünfeld
              thisisnic Nicola Crane
              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 - 4h 10m
                  4h 10m