You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2022/01/03 13:57:00 UTC
[jira] [Closed] (DRILL-8066) Cannot convert non-finite floating point literals
[ https://issues.apache.org/jira/browse/DRILL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Turton closed DRILL-8066.
-------------------------------
> Cannot convert non-finite floating point literals
> -------------------------------------------------
>
> Key: DRILL-8066
> URL: https://issues.apache.org/jira/browse/DRILL-8066
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.19.0
> Reporter: James Turton
> Assignee: James Turton
> Priority: Minor
> Fix For: 1.20.0
>
>
> Drill can process floating point values like -Infinity, +Infinity and NaN but it fails to correctly convert queries containing these values as constants during planning. E.g. this query produces a NumberFormatException.
>
> {code:java}
> select cast('-Infinity' as float);{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)