[ https://issues.apache.org/jira/browse/FLINK-14364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999291#comment-16999291 ]
Jiayi Liao commented on FLINK-14364: ------------------------------------ [~lzljs3620320] [~ykt836] Sorry for the late reply, I was busy on something else recently :(. I've added a validation in {{CsvValidator}} to improve the usability in this [PR|https://github.com/apache/flink/pull/10622]. I'll appreciate it if you can spare time and take a look. > Allow comments fail when not ignore parse errors in > CsvRowDeserializationSchema > ------------------------------------------------------------------------------- > > Key: FLINK-14364 > URL: https://issues.apache.org/jira/browse/FLINK-14364 > Project: Flink > Issue Type: Bug > Components: Table SQL / API > Reporter: Jingsong Lee > Assignee: Jiayi Liao > Priority: Major > Labels: pull-request-available > Fix For: 1.11.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Use CsvRowDeserializationSchema, when setIgnoreParseErrors(false) and > setAllowComments(true). > If there are some comments in msg, will throw MismatchedInputException. > If this a bug? and we should catch MismatchedInputException and return null? > -- This message was sent by Atlassian Jira (v8.3.4#803005)