[ 
https://issues.apache.org/jira/browse/NIFI-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15486157#comment-15486157
 ] 

ASF GitHub Bot commented on NIFI-2764:
--------------------------------------

GitHub user patricker opened a pull request:

    https://github.com/apache/nifi/pull/1009

    NIFI-2764 - MS SQL TINYINT Avro Issue

    Small fix for TINYINT Columns causing Avro serialization to die.
    
    I did not commit the unit test, I did write one and attached it as a 
comment to the JIRA ticket; it felt pretty dirty how it was written, wasn't 
sure if I should include it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/patricker/nifi NIFI-2764

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/1009.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1009
    
----
commit 3755ecb96acca90344d25e2717e58ce9940f69b2
Author: patricker <[email protected]>
Date:   2016-09-13T03:52:58Z

    NIFI-2764

----


> 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)

Reply via email to