cloud-fan commented on issue #23171: [SPARK-26205][SQL] Optimize In for bytes, 
shorts, ints
URL: https://github.com/apache/spark/pull/23171#issuecomment-467860408
 
 
   > the main idea of `InSet` was to optimize cases when the list of values is 
long rather than to optimize cases when all values are literals.
   
   "all values are literals" is a pre-condition. If some values are attributes, 
we can't use hash set no matter how long the list of values is.
   
   But I'm fine to add the switch optimization in `InSet`, we can rename it to 
`OptimizedIn` later.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to