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?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---