Overwriting the Array Object
Hi,
I am writing into an array inside a data set using query service daily against a profile , coming next run we wish previous values of array to get replaced with the new values. As we notice right now values inside array fields are getting appended rather getting replaced.
Example -
Day 1 :
Data ingested using query (batch)
|
ID |
Product Viewed Recently (array) |
|
123 |
‘A','B','C' |
In Profile we see Product Viewed Recently as ‘A’,’B’,’C’ across 0,1,2, array placement
Day 2
Data ingested using query (batch)
|
ID |
Product Viewed Recently (array) |
|
123 |
‘D’,’E’,’F’ |
In Profile we see Product Viewed Recently as ‘A’,’B’,’C’ ,’D’,’E’,’F’ across 0,1,2, 3,4,5 array placement. Whereas only want to see ‘D’,’E’,’F’.
Is there a way for specific dataset we can set possibility of replacing an array field instead of appending ?