Escape Double Quotes when writing to CSV

More
6 months 1 week ago #25894 by prashant
Happy 2026 Guys

I am reading from SQL table where items are read properly in AETL
 

My second action is simply using transformation to write the same to CSV , I use Double Quotes as text qualifier , UTF-8 , Delimited . The expected output should be the 'escape' the double quotes, single quotes  if any found inside any column.

Currently I am able to solve this issue by doing a python calculation or by changing the same in input query but a default option would be appreciated. 

 

 
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #25895 by prashant
Upon Re-reading my input , I thought we need to input comma as well
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #25896 by admin
Let me do some digging on it. I remember looking at iy a very long time ago and I am not sure what is a correct way of dealing with this kind of problems

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #25897 by prashant
Hi,
 

This is how it's to be stored in a CSV to get above output

"Work","Size","Time"
"ABC","4"",34""","ABCD"
"EFG","2""","EFG"
"JKL","2"" , 3"" , 45""","KLM"
 
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

More
6 months 3 days ago #25903 by admin
FYI: We are still looking at it plus one of our customers reported similar issue

www.etl-tools.com/forum/advanced-etl-pro...sv-text-exports.html
 

Mike
ETL Architect
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

More
6 months 2 days ago #25906 by Peter.Jonson
Can you try latest version and let us know if it helps or not

 

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save