Matt Burgess created NIFI-2623:
----------------------------------

             Summary: SelectHiveQL with Avro output doesn't handle binary types
                 Key: NIFI-2623
                 URL: https://issues.apache.org/jira/browse/NIFI-2623
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Matt Burgess
             Fix For: 1.1.0


SelectHiveQL, when specifying Avro output, and having columns of binary types, 
throws an error when run.

The error is a SQLException with text "Method not supported". This is coming 
from the Hive driver because HiveJdbcCommon is calling getBytes() on the 
ResultSet, and that method has not been implemented in the driver (HIVE-7134).

It may be possible to use getObject() and convert it into a byte array or 
ByteBuffer (if it is not already) for storage into an Avro record.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to