You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Mike Thomsen <mi...@gmail.com> on 2020/02/23 15:29:09 UTC
Why do we treat Decimal as a Double
Here's the ticket I'm working on for a reference:
https://issues.apache.org/jira/browse/NIFI-7159
Curious to know if there was a particular reason why logical type Decimal
as a Double in the Record API. Decimal has a higher range of values that
can be encoded than would normally go into a Double. Should I continue to
refactor this or is there a good reason to keep as is and make the Mongo
processors that handle records smart enough to at least push the Double in
as a Decimal128 so the data type is at least correct in Mongo?
Thanks,
Mike