Consider ordering of columns when both CSVs have headers

Currently, during diffing, the potential different ordering of columns is not considered when both CSVs have headers.

Note, that this will also be relevant for qsv in order to provide an additional key-headers option (to the existing key-idx).

Here are the most relevant lines that need to change (there might be others):

https://gitlab.com/janriemer/csv-diff/-/blob/8fe3642ede58961bcd0f62ca343919864a60d638/src/csv_parser_hasher.rs#L92

and

https://gitlab.com/janriemer/csv-diff/-/blob/8fe3642ede58961bcd0f62ca343919864a60d638/src/csv_parser_hasher.rs#L105

Edited Jan 19, 2023 by Jan Riemer
Assignee Loading
Time tracking Loading