Skip to content
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

Filterx parse csv refinements #219

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

bazsi
Copy link
Member

@bazsi bazsi commented Jul 21, 2024

Another round of csv parsing refinements:

  • strip_whitespaces argument renamed to strip_whitespace
  • never fold the delimiter argument into being a whitespace (e.g. when parsing tab separated values)
  • strip_whitespace should not default to TRUE

@bazsi
Copy link
Member Author

bazsi commented Jul 21, 2024

this still breaks the tests and it is indeed a bug (e.g. whitespace within quotation marks that should be stripped). don't merge yet.

@bazsi bazsi force-pushed the filterx-parse-csv-refinements branch from ace8875 to 0c08a80 Compare July 21, 2024 11:57
bshifter
bshifter previously approved these changes Jul 22, 2024
When the delimiter is either a space or a tab, and strip-whitespace is set,
we don't want to remove those as whitespace, they may indicate an empty value.

Signed-off-by: Balazs Scheidler <[email protected]>
…space

The original argument was called this way. We still accept the plural
version that we can get rid off.

Signed-off-by: Balazs Scheidler <[email protected]>
@bazsi
Copy link
Member Author

bazsi commented Jul 25, 2024

@bshifter can you please re-approve?

@bazsi bazsi merged commit 4c2c08d into axoflow:main Jul 25, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants