flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jark Wu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4621) Improve decimal literals of SQL API
Date Fri, 23 Sep 2016 08:47:20 GMT

    [ 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

View raw message