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

[R] [C++] Handle suffix argument in joins

    XMLWordPrintableJSON

Details

    Description

      If there is a name collision, we need to do something https://github.com/apache/arrow/blob/a3746040d8a3ddb84bab6c7ca4771b6c120e3444/r/R/dplyr-join.R#L31

      A few notes:

      • arrow doesn't seem to actually be able to apply the prefixes (I'm getting errors when trying), I couldn't tell if there were tests of this — I couldn't find any, so I'm not sure if I'm calling this wrong or if it's not working at all.
      • arrow always appends the affixes (where as dplyr only adds them if there is a name collision)
      • arrow only supports prefixes (can we configure this, or ask the clients to provide new names?) in the tests I wrote I've worked around this, but it would be nice to be able to match dplyr/allow things other than prefix

      Attachments

        Activity

          People

            vibhatha Vibhatha Lakmal Abeykoon
            jonkeane Jonathan Keane
            Votes:
            0 Vote for this issue
            Watchers:
            6 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 - 7h 50m
                7h 50m