Utilizing Azure Data Factory for Parsing .dat Files with Custom Row Delimiters”

Glasier 440 Reputation points
2023-11-12T18:35:01.7633333+00:00

I am employing Azure Data Factory to parse a DAT file where each row is delimited by the string ‘TASK.’ For instance, in the data preview, a new row is displayed each time the character ‘T’ appears. Is there a method to employ a row delimiter with a specific string value?

Example

TRY 123 ~ 946 TASK 3489YT56 TASK 368905T67 TASK 365890PT65678

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

Accepted answer
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2023-11-14T12:12:49.4533333+00:00

    Hi Glasier,

    Thank you for posting query in Microsoft Q&A Platform. Try below steps.

    Step1: Create a dataset with csv format and select your DAT file

    Step2: Inside the dataset settings for row delimiter option.

    User's image

    Hope this will helps. Please let me know how it goes.


    Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Subashri Vasudevan 11,226 Reputation points
    2023-11-13T03:04:54.17+00:00

    Hi, you can try editing the delimiter option in the data set where you are pointing to source dat file and mention the string delimiter there.

    You can go through thisvideo for reference. Kindly check and revert in case you have questions.

    Thanks.

    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.