Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2623

SelectHiveQL with Avro output doesn't handle binary types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Extensions
    • 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.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: