[ 
https://issues.apache.org/jira/browse/NIFI-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868124#comment-15868124
 ] 

Toivo Adams commented on NIFI-2624:
-----------------------------------

@ijokarumawak,

Sorry I didn't have time to look your code.
Your approach looks much better.

My only concern is – do we generate record which conforms to Avro standard?
Can any other consumer (outside NiFi) read our Avro record and get back same 
BigDecimal?

@joewitt,

Right, let’s try to finish this.

Thanks
Toivo


> JDBC-to-Avro processors handle BigDecimals as Strings
> -----------------------------------------------------
>
>                 Key: NIFI-2624
>                 URL: https://issues.apache.org/jira/browse/NIFI-2624
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Toivo Adams
>
> The original SQL processors implemented BigDecimal values as Strings for 
> Avro, as the version of Avro it used (1.7.6) did not support DECIMAL type.
> As of Avro 1.7.7 (AVRO-1402), this type is supported and so the SQL/HiveQL 
> processors should be updated to handle BigDecimals correctly if possible.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to