-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generate_csv
- generated CSV header is always alphabetically ordered
#90
Comments
@jqnatividad Thank you for submitting this bug. I'll take a look at it. |
Looks like the root cause is the the BTreeMap doesn't preserve the order of insertion. |
As I understand it, BTreeMap sorts the keys. Perhaps, use https://github.com/bluss/indexmap instead? |
It looks like that crate will work. Thanks for the suggestion. It will be a breaking change because any saved DataSampleParsers (DSP) from the prior version will not be able to be loaded from file into this new |
Time for test-data-generation 0.3 perhaps? 😉 I'm keen to use it to power test data generation for qsv. |
Fix in development and passing. Will be included in release 0.3.0 |
version 0.3.0 has been published to crates.io |
This issue is resolved. |
Hi @dsietz , just wanted to let you know that I just published qsv 0.22.0 with the generate command powered by test-data-generation. Once again, thanks for this awesome library and I look forward to your feedback! |
@jqnatividad You're welcome. And much success with qsv. |
First off, thanks for this awesome library!
However, the generated csv's headers are alphabetically ordered.
The generated data itself is OK.
The text was updated successfully, but these errors were encountered: