You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2016/09/23 08:47:20 UTC

[jira] [Commented] (FLINK-4621) Improve decimal literals of SQL API

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

Jark Wu commented on FLINK-4621:
--------------------------------

I think the problem is how to convert  BigDecimal into relative java primitives.  Do you have any ideas?

> Improve decimal literals of SQL API
> -----------------------------------
>
>                 Key: FLINK-4621
>                 URL: https://issues.apache.org/jira/browse/FLINK-4621
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Timo Walther
>
> Currently, all SQL {{DECIMAL}} types are converted to BigDecimals internally. By default, the SQL parsers creates {{DECIMAL}} literals of any number e.g. {{SELECT 1.0, 12, -0.5 FROM x}}. I think it would be better if these simple numbers would be represented as Java primitives instead of objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)