tanclary opened a new pull request, #3378: URL: https://github.com/apache/calcite/pull/3378
This PR contains two commits implementing BigQuery's SAFE_DIVIDE and SAFE_SUBTRACT functions, working towards the goal of [CALCITE-5591]. These commits follow a very similar structure to those for [SAFE_ADD](https://github.com/apache/calcite/commit/a651ea6347f1ef87a5bf4de14b0c7e778ba393b5) and [SAFE_MULTIPLY](https://github.com/apache/calcite/commit/1b8dc60b7673d83445f06ecaebd5f89dfd5781f6). One notable difference is that there is logic to handle dividing by zero in the case of SAFE_DIVIDE. Any comments or suggestions are appreciated as always. -- 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]
