Ken Hui created NIFI-2972:
-----------------------------

             Summary: 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
             Fix For: 1.0.0


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)

Reply via email to