This issue is resolved now. Just had to manually create a json file with all tags and use that for defining schema for first time.
Import JSON with inconsistent structure using ADF
Hi,
I am using ADF data flow to convert a source JSON file into a csv format. The issue with the source file format is that not all the tags are populated all the time. There are a few tags which are fixed, but sometimes one of the tags might be missing. For example, in the complex JSON structure,
"first_touch":{"category":
{"description":"Web Asset",
"lookup_type":"clients_touch__category",
"value":100}
}
the value field might be missing for one of the rows in the files. I some cases one row might have the whole category section missing.
I want to stll populate the data with the other fields and populate blanks/null in the columns that dont exist.
Please let me know if anyone has any suggestions. Thanks in advance!