MikeThomsen commented on a change in pull request #4104: NIFI-7159
URL: https://github.com/apache/nifi/pull/4104#discussion_r388006930
##########
File path:
nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/src/main/java/org/apache/hadoop/hive/ql/io/orc/NiFiOrcUtils.java
##########
@@ -104,6 +105,10 @@ public static Object convertToORCObject(TypeInfo
typeInfo, Object o, final boole
if (o instanceof Double) {
return new DoubleWritable((double) o);
}
+ // Map BigDecimal to a Double type - this should be improved to
map to Hive Decimal type
+ if (o instanceof BigDecimal) {
Review comment:
There were some runtime issues with unit tests related to Orc. @mattyb149
@bbende @ijokarumawak do y'all have any insight into this ORC conversion?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services