Dwrite opened a new pull request, #4838:
URL: https://github.com/apache/calcite/pull/4838
`SqlImplementor.toSql` throws `NumberFormatException` when a `RexLiteral`
contains a NaN or Infinity value, because `BigDecimal` cannot represent IEEE
754 special values. Fix by generating `CAST('NaN' AS <type>)` for non-finite
doubles instead of calling `SqlLiteral.createApproxNumeric`.
--
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]