Azure Data Factory dataflow bad schema mapping

Carrie 50 Reputation points
2024-02-26T02:56:36.23+00:00

Hi

I'm new to ADF. I think maybe it's because of my bad setting.

Recently we're planning to migrate our Alteryx tasks to ADF.

Our procedures are like below:

  1. Connect to Workday soap API, get all the data and sink to data lake, which might generate around 140 Json files.
  2. Creating data flow to manipulate the data which are generated at previous procedure
  3. My data flow settings are like below:
  4. User's image

User's image

And here is the issue:

I found for some fields their type are not what I expect.

Like for wd:Address_Data, wd:Email_Address_Data, wd:Phone_Data,I checked the data on local, they are complex :

wd:Email_Address_DataUser's image

wd:Phone_DataUser's image

wd:Address_DataUser's image

But they are changed to be string when I import projection. Sometimes all of them are string, sometimes part of them are stringUser's image

User's image

Is it because my bad setting? How could I get the right schema mapping

Best regards,

Carrie

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

1 answer

Sort by: Most helpful
  1. Carrie 50 Reputation points
    2024-03-12T11:32:13.1033333+00:00

    I found the similar case, maybe the function to convert to json has some bug?

    https://stackoverflow.com/questions/37164399/jackson-desrialize-when-jsonproperty-is-sometimes-array-and-sometimes-a-single-o

    [http://michaelcummings.net/mathoms/using-a-custom-jsonconverter-to-fix-bad-json-results/]


Your answer

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