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/01/01 12:30:44 UTC

[GitHub] [arrow] jhorstmann commented on pull request #9038: ARROW-10356: [Rust][DataFusion] Add support for is_in (WIP)

jhorstmann commented on pull request #9038:
URL: https://github.com/apache/arrow/pull/9038#issuecomment-753311070


   An alternative implementation would be to translate `x IN ('ABC', 'DEF', 'GHI')` into `(x = 'ABC') OR (x = 'DEF') OR (x = 'GHI')` on the logical plan level. That should handle nulls correctly and for a short set of values it should also have good performance since there are special comparison kernels for comparing against literals. For a larger set of values the `contains` might be more performant because of the possibility for returning early.


----------------------------------------------------------------
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