[ 
https://issues.apache.org/jira/browse/CALCITE-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872696#comment-17872696
 ] 

Caican Cai commented on CALCITE-6524:
-------------------------------------

I noticed this jira https://issues.apache.org/jira/browse/CALCITE-1439
[~julianhyde] Hi, I would like to ask why 
{code:java}
cast('1.2' as integer)
{code}
 is invalid.

> The toInt method of SqlFunctions cannot parse a string of decimal type
> ----------------------------------------------------------------------
>
>                 Key: CALCITE-6524
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6524
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Caican Cai
>            Priority: Major
>
> Caused by: java.lang.NumberFormatException: For input string: "2.0"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to