Reputation: 41
I am looking for how to present my null values with the Azure Data Factory Dataflow activity. Currently, I am using standard dataflow for modelling my data from Azure SQL database and drag it into Blob storage in JSON format. But if the dataset source has a null value, the column in the row is skipped in JSON.
UPDATE: Here is the results of having data, having entry string as data and null value.
Please, give me some advice on how to proceed, in order to resolve the problem. With Copy activity I don't have the same issue - null values are presented with ""
Thanks in advice! Cheers, Vesela
Upvotes: 1
Views: 6274
Reputation: 16401
I now have a solution, you could reference it.
I recreate a table with the schema like bellow, column setNum
has null value:
In the Data flow, I added a DerivedColumn to help us convert the null value to ''.
Expression:
iifNull(setNum,'')
: if the setNum is null, then replace it with ''.
Check the data in blob:
Hope this helps.
Upvotes: 2