[
https://issues.apache.org/jira/browse/FLINK-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241308#comment-15241308
]
ASF GitHub Bot commented on FLINK-3749:
---------------------------------------
Github user fhueske commented on the pull request:
https://github.com/apache/flink/pull/1881#issuecomment-209985156
I don't think we should handle `DECIMAL` as `double`. `DECIMAL` provides
fixed precision in contrast to `double`. If we internally represent `DECIMAL`
as `double` precision is not guaranteed. I think we need a special data type,
serializers, and also custom math logic to handle `DECIMAL` correctly. Maybe
Calcite offers some of that?
> Improve decimal handling
> ------------------------
>
> Key: FLINK-3749
> URL: https://issues.apache.org/jira/browse/FLINK-3749
> Project: Flink
> Issue Type: Bug
> Components: Table API
> Reporter: Timo Walther
> Assignee: Timo Walther
>
> The current decimal handling is too restrictive and does not allow literals
> such as "11.2".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)