You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/08/23 14:16:20 UTC
[jira] [Assigned] (NIFI-2623) SelectHiveQL with Avro output doesn't
handle binary types
[ https://issues.apache.org/jira/browse/NIFI-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess reassigned NIFI-2623:
----------------------------------
Assignee: Matt Burgess
> 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)