Matt Burgess commented on NIFI-2764:

Shorts can be supported but you have to specify the class in the schema: 

Having said that, this solution seems fine (and is being done for other types 
like Byte)

> JdbcCommon Avro Can't Process Java Short Types
> ----------------------------------------------
>                 Key: NIFI-2764
>                 URL: https://issues.apache.org/jira/browse/NIFI-2764
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.0.0
>            Reporter: Peter Wicks
> Microsoft SQL Server returns TINYINT values as Java Short's.  Avro is unable 
> to write datum's of this type and throws an exception when trying to.
> This currently breaks QueryDatabaseTable at the very least when querying MS 
> SQL Server with TINYINT's in the ResultSet.

This message was sent by Atlassian JIRA

Reply via email to