Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

fix: write to file in CSV format, not in JSON #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cwegener
Copy link

@cwegener cwegener commented Jan 3, 2024

writing in JSON format does not make sense.

The records in Postgres should arrive exactly as they were scraped by a
Tap at the source.

E.g. if a string in the sources has control characters like LF (0x0a),
the same string should also have LF in the postgres target and not '\n'
like JSON format uses.

Fixes #131

@cwegener cwegener marked this pull request as draft January 3, 2024 03:21
@cwegener cwegener marked this pull request as ready for review January 3, 2024 04:45
writing in JSON format does not make sense.

The records in Postgres should arrive exactly as they were scraped by a
Tap at the source.

E.g. if a string in the sources has control characters like LF (0x0a),
the same string should also have LF in the postgres target and not '\n'
like JSON format uses.

Fixes transferwise#131
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSV file uses wrong file format (uses JSON instead of CSV)
1 participant