- Posts: 8
- Thank you received: 0
Dealing with nulls coming from CSV file
7 years 5 months ago #14922
by Sergio
Dealing with nulls coming from CSV file was created by Sergio
Guys,
I have a source csv file as below with 4 columns and using double quotes as optional quotes
"Beer","","",,
2nd and 3rd columns are empty strings and last one is NULL. When Advanced ETL Processor reads file and loads it into Teradata table it inserts 2nd and 3rd column as NULL instead of empty string.
Is there a way to handle this case and treat those columns as empty strings?
Thanks,
Sergio
I have a source csv file as below with 4 columns and using double quotes as optional quotes
"Beer","","",,
2nd and 3rd columns are empty strings and last one is NULL. When Advanced ETL Processor reads file and loads it into Teradata table it inserts 2nd and 3rd column as NULL instead of empty string.
Is there a way to handle this case and treat those columns as empty strings?
Thanks,
Sergio
Please Log in or Create an account to join the conversation.
- Peter.Jonson
-
- Offline
- Platinum Member
-
7 years 5 months ago - 7 years 5 months ago #14923
by Peter.Jonson
Peter Jonson
ETL Developer
Replied by Peter.Jonson on topic Dealing with nulls coming from CSV file
Peter Jonson
ETL Developer
Last edit: 7 years 5 months ago by Peter.Jonson.
Please Log in or Create an account to join the conversation.