-
|
Hello I expect the second field in the row Quote from manual about Content > Enclosure parameter : I've also tried to use Escape parameter and that was promising but sometimes that breaks the parsing. Thank you very much in advance test_text_file_input_enclosure.csv |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
In that example the inner quotes look like standard CSV doubled enclosure characters, not a separate escape sequence. So I would first test with the quote character only as the enclosure, and leave Escape empty. Try the Text file input with only these CSV-related settings first: With that convention, this field: "hello this is a ""nice"" comment"is intended to become: Setting Escape to the same character as Enclosure can change how the parser walks through the quoted field, which would explain why rows that previously parsed start getting skipped or shifted. Use Escape only if your source file uses a separate escape style, for example backslash escaping, rather than standard doubled quotes. If empty Escape still skips rows 6-8, the attached CSV/HPL is already a useful repro; adding the exact Hop version and CSV-mode/error-handling settings would make it much easier for maintainers to compare parser behavior. |
Beta Was this translation helpful? Give feedback.



In that example the inner quotes look like standard CSV doubled enclosure characters, not a separate escape sequence. So I would first test with the quote character only as the enclosure, and leave Escape empty.
Try the Text file input with only these CSV-related settings first:
With that convention, this field:
"hello this is a ""nice"" comment"is intended to become:
Setting Escape to the same character as Enclosure can change how the parser walks through the quoted field, which would explain why rows that previously parsed start getting skipped or shifted. Use Escape only if your source file uses a separate esca…