You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/11/08 18:52:58 UTC

[jira] [Resolved] (NIFI-2972) SQL-to-Avro processors do not convert SMALLINT correctly

     [ https://issues.apache.org/jira/browse/NIFI-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Burgess resolved NIFI-2972.
--------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 1.0.0)

This looks like a duplicate of NIFI-2764

> SQL-to-Avro processors do not convert SMALLINT correctly
> --------------------------------------------------------
>
>                 Key: NIFI-2972
>                 URL: https://issues.apache.org/jira/browse/NIFI-2972
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Ken Hui
>
> When using ExecuteSQL processors to query MS SQL, Avro did not handle SMALLINT object correctly.
> It triggers the following errors:
> 11:57:39 PDT ERROR
> ExecuteSQL[id=01581003-3e41-1bf0-bec1-62c4dfa38133]
> ExecuteSQL[id=01581003-3e41-1bf0-bec1-62c4dfa38133] failed to process due to 
> org.apache.avro.file.DataFileWriter$AppendWriteException:
> org.apache.avro.AvroRuntimeException: Unknown datum type java.lang.Short:1800; rolling back session:
> org.apacheavro.file.DataFileWriter$AppendWriteException:
> org.apache.avro.AvroRuntimeException: Unknown datum type java.lang.Short:1800



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)