You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2018/12/16 01:45:58 UTC

[GitHub] cloud-fan commented on issue #23171: [SPARK-26205][SQL] Optimize In for bytes, shorts, ints

cloud-fan commented on issue #23171: [SPARK-26205][SQL] Optimize In for bytes, shorts, ints
URL: https://github.com/apache/spark/pull/23171#issuecomment-447611201
 
 
   I think what we can do is:
   1. add a new config `optimizeInWithLiteralList`, if it's true, turn `In` to `OptimizedIn` if list is all literal.
   2. `OptimizedIn` has a parameter `inSetThrehold`, which is passed when constructing `OptimizedIn`. The `inSetThrehold` decides whether we want to use switch based optimization or hash set.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org