Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.