Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
tYrannoSaurusRex_1
Contributor III
Contributor III

Escape char in tFileInputDelimited adding Tab (\t) after every escape character.

Hello,

I am working on a data coming from simple .csv file using tFileInputDelimited. Basic structure is as below,

Delimiter: Tab (\t)

CSV encoded with double quotes.

0695b00000G4ogiAAB.png

I set the CSV Options in tFileInputDelimited as below,

0695b00000G4oieAAB.png

0695b00000G4oijAAB.png

0695b00000G4oiyAAB.png

But every time I get same issue with columns having double quotes in body of any column.

I catch the error records in a reject file and it shows that in Float column next to it, string values are being pushed.

The Reject records look like these,

0695b00000G4oliAAB.png

See in the screenshot, in Column3, whenever it hits a double quote, it adds a tab to it. Tab is the delimiter.

Thus it is somehow changing position of the column and creating multiple columns even though there isn't even a space after 2nd double quote.

Labels (3)
1 Reply
Anonymous
Not applicable

Hi

What is the escape char in your CSV file? if the column body contains double quotes, there should exist escape char such as:

"1" "shong"

"2" "XCFDGHJ\"A\"updated"

In this example, Tab (\t) is delimiter, "\\" is escape char.

Output will be:

0695b00000G5HJ9AAN.png 

Regards

Shong