[ 
https://issues.apache.org/jira/browse/NIFI-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-2593:
------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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