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:
[email protected]


Reply via email to