[
https://issues.apache.org/jira/browse/NIFI-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510357#comment-15510357
]
Matt Burgess commented on NIFI-2764:
------------------------------------
Shorts can be supported but you have to specify the class in the schema:
https://avro.apache.org/docs/1.7.7/api/java/org/apache/avro/reflect/package-summary.html
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
(v6.3.4#6332)