1

I am attempting a simple SELECT action on a Source JSON dataset in an Azure Data Factory data flow, but I am getting an error message that none of the columns from my source are valid. I use the exact configuration as the video, except instead of a CSV file, I use a JSON file.

In the video, at 1:12, you can see that after configuring the source dataset, the source projection shows all of the columns from the source schema. Below is a screen shot from the tutorial video: image.png enter image description here

And below is a screen shot from my attempt: (I blurred the column names because they match column names from a vendor app) enter image description here

Note in my projection, I am unable to modify the data types or the format. I'm not sure why not, but I don't need to modify either so I moved on. I did try with a CSV and I was able to modify the data types. I'm assuming this is a JSON thing, but I'm noting here just in case there is some configuration that I should take a look at.

At 6:48 in the video, you'll see the user add a select task, exactly as I have done. Below is a screen shot of the select task in the tutorial immediately following adding the task: enter image description here

Notice the source columns all appear. Below is a screen shot of my select task: enter image description here

I'm curious why the column names are missing? If I type them in manually, I get an error: "Column not found"

For reference, below are screen shots of my Data Source setup. I'm using a Data Lake Storage Gen2 Linked Service connected via Managed Identity and the AutoResolvingIntegrationRuntime. enter image description here enter image description here Note that I tried to do this with a CSV as well. I was able to edit the datatype and format on a CSV, but I get the same column not found error on the next step.

1 Answer 1

1

Try doing this in a different browser or clear your browser cache. It may just be a formatting thing in the auto-generated JSON. This has happened to me before.

Sign up to request clarification or add additional context in comments.

2 Comments

FYI, you cannot modify data types in source projection with JSON formats. However, whatever shows up in your Source projection should also be available as metadata in your subsequent transformations. Click on the Select transformation and click Inspect. Let us know what columns are showing there. Also, if you are able to, paste a copy of the data flow script behind from the UI.
I'm embarrassed that the browser clear worked. I didn't think not being able to change data type was a big deal but thought it was worth mentioning. Thank you to both!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.