-
Notifications
You must be signed in to change notification settings - Fork 34
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
Bug encode-csv
with two value csv
#494
Comments
Currently, the CSV encoder writes literals (values) as they come in, without giving any regard to their names. Hence, if the input order is unstable, the output will be inconsistent. A potential solution might be to write values in the order they were first received, which is also the order of the column headers. But this will get somewhat complicated when also taking repeated fields into account. |
Task: map incoming data to header order, add new row in header, if element does not exist. |
In my example here:
TobiasNx/metafacture_workflows@16308bc
The outputted csv seems to have sometimes mixed up the columns.
This seems to be due to order of the incoming stream:
If I output the json, the issue seem to be created by a variation in the output order:
The text was updated successfully, but these errors were encountered: