CSV Scanner not working in SFTP context : extraneous or missing \" in quoted-field" #2813
acornforth
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey @acornforth 👋 Thanks for reporting this! Would you mind doing a quick test and set scanner:
csv:
parse_header_row: true
lazy_quotes: true I think the error you're hitting is due to this code in the parser. PS: Converting to a discussion as per #2026. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tested with the same files locally using the csv input, works fine. Something about the records extracted from the csv is breaking when they are pulled from sftp. Not sure is this is something speicif to the SFTP server we are connecting to.
I have already googled for issues, and a found some instance of this error occurring for example when line endings are /r, not /r/n or /n. but i checked this and it doesn't appear to be the cause in our case.
Not sure if this is a benthos issue directly or something to do with the underlying encoding/csv package
config below:
Beta Was this translation helpful? Give feedback.
All reactions