[
https://issues.apache.org/jira/browse/NIFI-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427005#comment-15427005
]
Joseph Witt commented on NIFI-2593:
-----------------------------------
Verified clean build w/contrib-check.
Reviewed new code.
Confirmed unit tests exercises new code.
Looks good +1. Merged to master.
Thanks
> ConvertAvroToORC doesn't handle records/structs nested in other objects
> -----------------------------------------------------------------------
>
> Key: NIFI-2593
> URL: https://issues.apache.org/jira/browse/NIFI-2593
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.0.0
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Fix For: 1.0.0
>
>
> As an example, if a flow file containing an Avro record consisting of an
> array of structs/records, ConvertAvroToORC will appear to successfully
> convert the flow file, but the array will contain null values (as seen from
> Hive when querying a table atop the ORC file(s) ).
> If Maps are the underlying object supporting records in the Avro file, this
> works fine; however often (especially if using ConvertJsonToAvro), the object
> will be a GenericData.Record. If so, this record should be parsed like a Map
> (i.e. named fields), an OrcStruct generated, etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)