On Tue, 12 May 2020 at 10:13, Chen Guoping1 <chenguopingd...@163.com> wrote: > > Hi, all > > > About Commons CSV > [CSV-261](https://issues.apache.org/jira/projects/CSV/issues/CSV-261?filter=allopenissues) > Here is a usage scenario that ignores all empty values lines like ",,,\r\n" > in the CSV file, This behavior is very > useful. So we can consider supporting it in Commons CSV. > I have a preliminary implementation, which is to add ignoreEmptyColumnsLines > in CSVFormat, and then filter the > records which are all empty values in CSVParser. you can review the code in > https://issues.apache.org/jira/secure/attachment/13002690/CSV-261-dota17.diff > what do everybody think of this ? >
Whilst it may be useful, it seems to me to be out of scope for CSV. It should be easy enough to filter the output to skip empty lines. > - > Chen Guoping > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org