[
https://issues.apache.org/jira/browse/FLINK-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983968#comment-15983968
]
JiJun Tang commented on FLINK-4621:
-----------------------------------
I think simple numbers can be coverted to Java primitives.For exmaple : -0.5 ->
longval=-5,precision=1
> 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.15#6346)