Github user xccui commented on the issue: https://github.com/apache/flink/pull/5210 Hi @sunjincheng121, yes, the reported issue should be solved with FLINK-8331. In addition, maybe we can add the trailing delimiter as a new feature (like the [CSVParser.java](https://github.com/apache/commons-csv/blob/master/src/main/java/org/apache/commons/csv/CSVParser.java) and [CSVFormat.java](https://github.com/apache/commons-csv/blob/master/src/main/java/org/apache/commons/csv/CSVFormat.java#L559) in commons-csv). I'll do some refactorings to allow separate trailing delimiters for both the input and output. What do you think?
---