mihaibudiu opened a new pull request, #5200: URL: https://github.com/apache/calcite/pull/5200
## Jira Link [CALCITE-7729](https://issues.apache.org/jira/browse/CALCITE-7729) ## Changes Proposed The Java code generator would sometimes inline expressions with a single use, changing the semantics when the inlining happened in a conditional. The current rewrites should preserve the semantics of the original program. There was actually an independent "bug" in the implementation of `FirstLastImplementor`, which relied on this behavior for correctness, so I have fixed that as well to be always correct. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
