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

ASF subversion and git services commented on NIFI-2593:
-------------------------------------------------------

Commit 6874a5d82da27c1dfa41dfdd3fb8db25584c3bc0 in nifi's branch 
refs/heads/master from [~mattyb149]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=6874a5d ]

NIFI-2593: This closes #891. Fixed handling of nested records/structs in 
ConvertAvroToORC


> 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)

Reply via email to