[ 
https://issues.apache.org/jira/browse/NIFI-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433054#comment-15433054
 ] 

ASF GitHub Bot commented on NIFI-2623:
--------------------------------------

Github user bbende commented on the issue:

    https://github.com/apache/nifi/pull/920
  
    Looks good, verified selecting from a table with a binary column no longer 
produces an error, will merge to master


> 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
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: 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