[ https://issues.apache.org/jira/browse/FLINK-10355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619131#comment-16619131 ]
ASF GitHub Bot commented on FLINK-10355: ---------------------------------------- lihongliustc opened a new pull request #6713: [FLINK-10355][table]the order of the columns start from 1 URL: https://github.com/apache/flink/pull/6713 ## What is the purpose of the change This pull request changes the prompt of CsvTableSource ParseException.The order of the columns start from 1 instead of 0. ## Brief change log When throwing the exception, replace field with field+1. ## Verifying this change This change is already covered by existing tests, I test it by a row with an error column. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): ( no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (no) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > The order of the column should start from 1. > -------------------------------------------- > > Key: FLINK-10355 > URL: https://issues.apache.org/jira/browse/FLINK-10355 > Project: Flink > Issue Type: Improvement > Components: Table API & SQL > Affects Versions: 1.6.0 > Reporter: lihongli > Priority: Major > Labels: easyfix, pull-request-available > Attachments: B0C32FD9-47FE-4F63-921F-A9E49C0CB5CD.png > > > When I register an external Table using a CsvTableSource.It throws an > exception :"Parsing error for column 1".But I finally found that the second > column is the error column.I think that the order of the column should start > from 1. -- This message was sent by Atlassian JIRA (v7.6.3#76005)