Paul Hatcher
Paul Hatcher
To make it more general, you could introduce a policy that adds a suffix e.g. dup_col, dup_col1. The default behaviour could be to throw the duplicate column exception, and then...
@jonreis I think a IColumnHeaderNamePolicy is the way to go here, or may be a IColumnHeaderPolicy as that might allow us to generalise the default/override behaviour
@pepr I'm open to a pull request with this in, I'll have a look but I'm not sure I can get to it myself.
@fretje Looks like a documentation improvement then rather than a code change
Looks like it might be a bug - see if this case is covered off by a unit test
I've attempted to reproduce this with a test in CsvReaderTests but it passes with the current code base ``` [Test] public void CachedNoHeader() { var csv = new CachedCsvReader(new StringReader("12345678;Hello\r\n78945612;World"),...
@aeallord Can you try now, I've merged a pull-request that might address this
@setagana Thanks for the repo - I'll take a look
Why don't you try - there's benchmarks for the existing code so you can compare performance on your machine,.
@VictorioBerra Not easily no, since the ColumnHeader functionality is more about mapping CSV columns to SQL columns. What I think would be needed is to extend CsvReader with a Func...