Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I wanted to extract query result to a csv file with LF as line terminator. I have used "\n" as Line terminator in tFileOutputDelimeted component and I am getting CRLF as line terminator.
I have tried with \n, \r, \n\r, \r\n. In all cases, I am getting CRLF as line terminator.
Can anyone help me out?
Thanks in advance,
Meghana
Thanks for your response, but I haven't using git repository.
My coworker just had the opposite problem - she needed CRLF, but was just getting LF.
Do you have the csv options box checked on the Advanced Settings tab? If not, try that and select LF. If so, try unchecking the Use OS line separator box.
Hope this helps!
I could not see any options to select LF here.
Hi,
I was able to add the line separator of my choice (\r OR \n OR \r\n) in the tfileoutputdelimited. You need to use the row separator in the basic settings to modify the same. Please refer the screenshots below.
a) Scenario A - Only with Carriage return
a) Scenario B - With Carriage return and Line Feed
If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome 🙂
Warm Regards,
Nikhil Thampi
The option to choose LF is in the basic settings after you have checked the csv options box in the advanced settings.
I have checked the box LF too. I don't know why I am getting my output as CRLF
Thanks,
Meghana
@MeghanaKottala - Could you please share the component basic screen shot and if possible can you add a zip file export of your job for detailed analysis?
Warm Regards,
Nikhil Thampi