Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
NIFI-5517 PutHive3Streaming does not correctly support all Hive types
- Resolved
- links to