Quantcast
Viewing all articles
Browse latest Browse all 870

Teradata FLOAD error table 1 creates unwanted newlines in Dataparcel data.

I have a fastload utility to load data from txt file into Teradata table. I am trying to get the data from Teradata error table 1 into a structured format in a separate file. But Currently, the data generated from each Data Parcel for each row inserts a new line character after every date type data.
For eg: If my source file has following data
200239|Wk39|200209|October|20023|Quarter3|2002|2002|2002-10-27|2002-11-02|2002-10-06|2002-11-02|2002-08-04|2002-11-02||2003-02-01|||||||
The export data from error table generates it into following format.
200239|Wk39|200209|October|20023|Quarter3|2002|2002|2002-10-27
|2002-11-02
|2002-10-06
|2002-11-02
|2002-08-04
|2002-11-02
||
2003-02-01|||||||
 
I added the delimiters manually using find/repace sed commands.
My query is, what is the way to obtain the data from Fload data parcel as it was in the original source file. Why are these extra new lines being added into the data??
 
 

Forums: 

Viewing all articles
Browse latest Browse all 870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>