liyafan82 opened a new pull request #2098:
URL: https://github.com/apache/calcite/pull/2098


   For example, given expressions like
   
   a in (1, 2, 3, 4, 5)
   
   or
   
   a = 1 or a = 2 or a = 3 or a = 4 or a = 5,
   
   we can simplify it to
   
   a >= 1 and a <= 5
   
   Such simplification reduces the number of value comparisons from 5 to 2.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to