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

ASF subversion and git services commented on NIFI-2968:
-------------------------------------------------------

Commit 71e2061b5dbd286e45855c81473e849583ead9df in nifi's branch 
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=71e2061 ]

NIFI-2968 This closes #1377. Improved message when ExecuteSQL hits unsupported 
SQL types


> Need better error logging when ExecuteSQL hits an unknown SQL type
> ------------------------------------------------------------------
>
>                 Key: NIFI-2968
>                 URL: https://issues.apache.org/jira/browse/NIFI-2968
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.0.0
>            Reporter: Daniel Einspanjer
>            Assignee: Pierre Villard
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 1.2.0
>
>
> If the JDBC driver returns SQL type 1111 (other) for a column, NiFi throws 
> the following error:
> o.a.nifi.processors.standard.ExecuteSQL 
> ExecuteSQL[id=17c33327-0158-1000-421f-605f45c66679] 
> ExecuteSQL[id=17c33327-0158-1000-421f-605f45c66679] failed to process session 
> due to java.lang.IllegalArgumentException: createSchema: Unknown SQL type 
> 1111 cannot be converted to Avro type: java.lang.IllegalArgumentException: 
> createSchema: Unknown SQL type 1111 cannot be converted to Avro type
> It would be useful to include some information such as the table name and 
> column name that caused the problem.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to