You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/14 22:29:43 UTC

[GitHub] [arrow] lidavidm commented on pull request #10520: ARROW-12709: [C++] Add binary_join_element_wise

lidavidm commented on pull request #10520:
URL: https://github.com/apache/arrow/pull/10520#issuecomment-861035926


   The null handling behavior never affects the separator: it only describes how to handle the other values. It's intended to let you mimic libcudf.
   
   ```
   binary_join_element_wise(['a', 'b', 'c', 'h'], ['d', null, 'e', 'i'], ['f', 'g', null, 'j'], [';', '-', ',', null])
   EMIT_NULL:                ['a', null, null, null]
   SKIP:                     ['a;d;f', 'b-g', 'c,e', null] # b and g are joined; the middle null value is ignored
   REPLACE(replacement=foo): ['a;d;f', 'b-foo-g', 'c,e,foo', null]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org