1. Trying to concat a map in query service, but it is throwing the following error. Is it a red flag to set this attribute?
If not, how to fetch and set this attribute?
If yes, how AEP is handling duplicate entries in segmentmembership map object in the profile?
Duplicate map key 1 was found, please check the input data. If you want to remove the duplicated keys, you can set spark.sql.mapKeyDedupPolicy to LAST_WIN so that the key inserted at last takes precedence.
2. Also, What is the struct syntax to insert a data into map datatype of key value pairs?