[ https://issues.apache.org/jira/browse/FLINK-12204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818870#comment-16818870 ]
Fabian Hueske commented on FLINK-12204: --------------------------------------- Hi [~hequn8128], hi [~fan_li_ya], This issue was already addressed by another PR (https://github.com/apache/flink/pull/7965/) that I just merged. Sorry, I didn't notice there was another PR. The approach is the same as [~hequn8128]'s. However, it does not include a test. [~hequn8128], do you want to rebase your PR and adjust your test? Thanks, Fabian > Improve JDBCOutputFormat ClassCastException > ------------------------------------------- > > Key: FLINK-12204 > URL: https://issues.apache.org/jira/browse/FLINK-12204 > Project: Flink > Issue Type: Task > Components: Connectors / JDBC > Affects Versions: 1.8.0 > Reporter: Fabian Hueske > Assignee: Hequn Cheng > Priority: Major > Labels: pull-request-available > Fix For: 1.9.0, 1.8.1 > > Time Spent: 20m > Remaining Estimate: 0h > > ClassCastExceptions thrown by JDBCOutputFormat are not very helpful because > they do not provide information for which input field the cast failed. > We should catch the exception and enrich it with information about the > affected field to make it more useful. -- This message was sent by Atlassian JIRA (v7.6.3#76005)