Import CSV file - unrecognized characters on the end
Using Data360 Desktop v 3.6.5.6605
I have a csv file with a header and 3 lines and I am trying to import it in D360. The import errors on the characters at the end. Is there a way to just read the data in and not error?
Attached files
-
There's an hidden parameter that can be added to the CSV/Delimited node in order to get your file work. It will be added into a future release but for now you can add it manually. Attached is a data flow reading both your files, for the second file I needed to add the UnescaptedQuote parameter. Here's the steps:
- Navigate to Define on the CSV/Delimited node.
- Create a parameter named UnescapedQuoteCharacter. Once its created go to Edit Details for the parameter (hamburger menu on the right of the name).
- Ensure the Run Time Property Name is ls.brain.node.csv.unescapedQuoteHandling.
- The Type should be set to Choice with the following choices: Error, Skip Value, Stop at Closing Quote and Stop at Delimiter.
- For this file, I set it to "Stop at Delimiter". You have 2 records that have more than 6 fields in them. You would need to tag on a second node to handle any fall out.
Hope this helps!
Please sign in to leave a comment.
Comments
3 comments