You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Jeyassri Balachandran (Jira)" <ji...@apache.org> on 2023/05/26 12:21:00 UTC
[jira] [Commented] (NIFI-11551) Default Use Avro Logical Types to 'true'
[ https://issues.apache.org/jira/browse/NIFI-11551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726607#comment-17726607 ]
Jeyassri Balachandran commented on NIFI-11551:
----------------------------------------------
Hi [~mattyb149] ,
I have changed the default from false to true for USE_AVRO_LOGICAL_TYPES property in this PR: [https://github.com/apache/nifi/pull/7304] .
Please let me know if this is incorrect or if I need to do something else.
> Default Use Avro Logical Types to 'true'
> ----------------------------------------
>
> Key: NIFI-11551
> URL: https://issues.apache.org/jira/browse/NIFI-11551
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Matt Burgess
> Priority: Major
> Fix For: 2.latest
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Starting with Apache NiFi 2.0, we should default any Use Avro Logical Types properties to 'true'. NiFi supports most/all Avro logical types as native NiFi record field types, so to get better datatype resolution downstream, we should be using Avro logical types wherever possible.
> Historically, the reason it defaulted to false was because NiFi originally used Avro before logical types were implemented, so when they were added to Avro, NiFi kept the existing behavior of not using logical types by default. At this point we should use logical types wherever possible (by default).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)