03-28-2021 05:05 AM
Hi Team,
While parsing a csv I got an “EOF reached before encapsulation token finished” error . However when checked each field is mapped to the header appropriately . After this error I again ran the pipeline without touching anything and we got the proper result . So is this error intermittent if not why on running again does not cause any problem , kindly advise.
Thanks,
Harshavardhana
05-19-2021 11:09 AM
Thanks for the details. Do you have a sample CSV file we could use to reproduce the issue?
05-19-2021 11:10 AM
Also, which snap are you using to read the file? File Reader? Something else? I wouldn’t think you’d need the Transcoder since the CSV Parser should be able to recognize the charset in the metadata from the upstream snap, but perhaps I’m wrong about that.
05-20-2021 04:33 AM
Hi @ptaylor . Yes using File Reader Snap itself . Transcoder Snap is used since previously while trying to parse the files after reading we used to get errors due to some special characters present in it . However the present file which is failing does not have such special characters. But in future the data in the file might have it so Transcoder snap would be needed.
05-21-2021 07:17 AM
Do you have a sample CSV file we could use to reproduce the issue?