Skip to content

Change separator from ; to ,#162

Closed
sfraczek wants to merge 4 commits into
mainfrom
csv-separator
Closed

Change separator from ; to ,#162
sfraczek wants to merge 4 commits into
mainfrom
csv-separator

Conversation

@sfraczek

@sfraczek sfraczek commented Nov 9, 2025

Copy link
Copy Markdown
Collaborator

The separator is not ; in revolut_data, but ,. Using , as separator doesn't work because the date contains commas. A proper parsing of quoted strings is needed to use separator ,.

@sfraczek sfraczek requested review from Copilot and jczaja November 9, 2025 20:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CSV parser to use comma (,) as the delimiter instead of semicolon (;) for Revolut data files. Since dates in the CSV contain commas, the change requires proper handling of quoted fields.

  • Changed delimiter from ; to , throughout the parser
  • Added csv_record_to_line helper function to properly handle quoted CSV fields
  • Updated CSV reader configuration to use the new delimiter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/csvparser.rs Outdated
@sfraczek sfraczek added the bug Something isn't working label Nov 9, 2025
@sfraczek sfraczek requested a review from Copilot November 9, 2025 21:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sfraczek sfraczek added the invalid This doesn't seem right label Nov 10, 2025
@sfraczek sfraczek closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants