Hi Team,
I am building a DLT pipeline and planning to use APPLY_CHANGES from Bronze to Silver. In the bronze table, a column has a json value. This value contains questions and answers as key, value pair and can change depending on list of questions have been asked.
Question 1: Wondering if APPLY_CHANGES can detect what have been changed on this column?
Question 2: I know doing a pivot with APPLY_CHANGES is not supported, correct me if I wrong. Is there a way in DLT to transpose/pivot the columns using the column that has a json key, value pair?
Example:
"dynamicQuestions": {
"questionSetId": "181d2382-fffe-11ed-be67-1b62e2674093",
"answers": [
{
"question": {
"id": "07ec1e7a-3306-11ed-af52-ff5ea6716e4a",
"key": "nationality"
},
"answer": {
"value": "NZL"
}
},
.
.
.
.
]
}
Cheers,
G