Issues with reading multiline rows in a csv file in ADF mapping data flows

Lionel F 26 Reputation points
2021-01-06T06:41:18.457+00:00

Hi,

I'm having issues with multiline fields in a csv file.

I have enabled "use first row as header" in the source dataset. And in mapping dataflows, I have enabled the "multiline row" option in the source settings.

This setup reads the multiline rows correctly, but for some reason the last column header is lost as shown in the attached image (it should say start_date, and I can't seem to find a way to manually add a column header to it). If I disable "use first row as header", everything works correctly, but ADF then has an issue with identifying the correct data type as it assumes all columns are text because of the first row being in the body.

Has anybody come across a similar issue, if not what would be the best way to deal with this?

A similar issue was posted here without being resolved: https://social.msdn.microsoft.com/Forums/en-US/6bb6b24b-c939-4bf3-98da-7400348678ed/adfdf-multiline-option-with-delimited-files-not-working-properly?forum=AzureDataFactory

53924-multilinerowissue.jpg

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

Accepted answer
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2021-01-18T12:49:50.12+00:00

    Hi @Lionel F ,

    Product team confirmed that without importing schema and using headers as an option will retrieve the data appropriately when having multiline rows in the data. The type will be detected as date appropriately and format needs to be specified if multiple date format data appears in the file.

    Please let us know for further queries and we will be glad to assist.

    --

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

0 additional answers

Sort by: Most helpful

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.