Hi, currently we are using vertica version 12.0.4 we are having a attribute with comma in between while we do export to delimited
EXPORT TO DELIMITED (directory='s3://{bucket}/vertica-data-exporter/5d35eaf2-2e34-4ee2-8007-0b7647e4281c_25a2c07b-bc8f-4ea7-847f-1e84a699667e_180050_broadcast_753_0_IDEN_whatsapp_false_false_true_webhook' , filename = 'test', addHeader='true' , enclosedBy='"' ,delimiter=',') AS SELECT * FROM srijan;
vertica db data
select * from srijan; userid | mobile | email | foreignkey | att146 -------------------------------------------------- 2792045|919344700896||919344700896|4,00,00 2792046|918870355952||918870355952|2,47,741
we get rows like this
[tmpsrijan.chakraborty@port3 ~]$ cat test.csv userid,mobile,email,foreignkey,att146 2792045,"919344700896","","919344700896","4\,00\,00" 2792046,"918870355952","","918870355952","2\,47\,741"
where column att146 has backslash before comma.
How to avoid this backslash? (version upgrade to other version is not the option telling in advance)