Using ADF Data Flow Derived Column transform against nested Delta structures

Copper Contributor

I'm trying to use a derived column transform within an ADF Data Flow where I've ingested a Delta table with nested structures.  I'm struggling with the syntax needed to flatten out these structures and no column info is displayed despite me being able to preview the data.

 

Such a structure would be:

{

  "ContactId":"1002657",

  "Name":{

     "FirstName":"Donna",

     "FullName":"Donna Brittain",

     "LastName":"Brittain"

   }

}

 

Data Preview working OK:

ADF_Preview.jpg

The structure of my Delta table:

DeltaTableFormat.jpg

The error I'm getting trying to reference a nested column:

ADF_DerivedCol.jpg

 

How can I reference a nested column such as Name.FirstName to flatten it out to FirstName and why is it not showing up in any of the mappings?

0 Replies