ADF Dataflow CSV sink does not always escape quote character

Eric Fitskie 96 Reputation points
2023-10-24T11:56:31.25+00:00

I have an Azure Data Factory that copies Azure SQL source to Azure blob storage delimited text sink with DataFlow.

The data contains translations for different languages. The data can contain double quote values. I've set the Quote and Escape character to double quote (").

User's image

Some values are escaped correctly:

User's image

But other values are not escaped correctly:

User's image

The strange part is that when exporting the preview data to CSV all data is escaped correctly?

How can I create valid CSV files from my source?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,644 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2023-10-27T19:46:33.71+00:00

    @Eric Fitskie Could you please try to use Quote all feature under sink transformation settings and see if that helps meet your requirements.

    User's image

    This is how the output will look like:

    User's image

    Let me know if this helps.

    Thank you!

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.