In a CDP datalake the profiles table features the identityMap field:
[IdentityType -> IdentityValue]
A sample value looks like the following:
["crmID" -> "{(NULL,crm123,NULL)}",
"loyaltyID" -> "{(NULL,loy456,NULL)}",
"accountID" -> "{(NULL,act789,NULL)}"]
To validate the ingestion and merging process of the IDs the client would like to run some checks on that map field such as:
- How many keys are there for each row
- How many values are there for each key
I used to be proficient on TSQL, but those maps structure are new to me and not sure how to explore those data.
Which kind of functions or syntax can be used to fetch the identityMap field? Please feel free to share just only references to public documentation.