[ https://issues.apache.org/jira/browse/NIFI-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570609#comment-16570609 ]
ASF GitHub Bot commented on NIFI-5491: -------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2938 > PutHive3Streaming incorrectly handles bytes, shorts, and nested structs > ----------------------------------------------------------------------- > > Key: NIFI-5491 > URL: https://issues.apache.org/jira/browse/NIFI-5491 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Reporter: Matt Burgess > Assignee: Matt Burgess > Priority: Major > Fix For: 1.8.0 > > > When trying to insert a record into a Hive table using PutHive3Streaming, if > the table contains columns of types byte, short, or struct, then an error > occurs and the records cannot be written. > This is due to a mismatch between the data types used in the NiFi Record API > and the Hive ORC writer and StructObjectInspector. For byte and short, NiFi > currently maintains an Integer value but Hive expects a Byte or Short, > respectively. For structs, NiFi maintains a Map value but Hive expects a List > or array. > NiFiRecordSerDe should handle the conversion of values for use by Hive > Streaming. -- This message was sent by Atlassian JIRA (v7.6.3#76005)