liyafan82 opened a new pull request #2282: URL: https://github.com/apache/calcite/pull/2282
Some simple arithmetic operations can be simplified, for example: ``` a + 0 = a a - 0 = a a * 1 = a a / 1 = a ``` In our product, we found such scenarios are fairly frequently encountered. For example, some SQL programmers use a * 1.0 as a convenient way to cast `a` to floating point type. ---------------------------------------------------------------- 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]
