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

ASF GitHub Bot commented on NIFI-2624:
--------------------------------------

Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/1142
  
    Just wanted to share my progress on this.
    
    I've add Logical Decimal support as well as Date/Time/Timestamp. As 
@ToivoAdams pointed out, it's important to make this enhancement work with 
other part of NiFi and outside of NiFi.
    
    We have AvroReader controller service now to consume Avro records for 
various processors. I've been testing logical types can be ready by AvroReader 
correctly and it works well so far.
    
    I think I'm very close to send a PR. I'll do more testing with databases 
other than MySQL. 
    My branch is available here if you are interested:
    
https://github.com/ijokarumawak/nifi/commit/1ebb9ee9ac16e7651c3e09c6f4f2b6d33d20e7cb
    
    Thanks!


> 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