You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/08/18 00:37:20 UTC

[jira] [Created] (NIFI-2593) ConvertAvroToORC doesn't handle records/structs nested in other objects

Matt Burgess created NIFI-2593:
----------------------------------

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