Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Is it a red flag to set spark.sql.mapKeyDedupPolicy to LAST_WIN in AEP Query Service?

Avatar

Level 3

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?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

@ShashiCh you can do some basic error investigation in the UI, however API gives you access to raw data with errors. 

Find below the details of the API 

https://experienceleague.adobe.com/en/docs/experience-platform/ingestion/quality/error-diagnostics

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor and Adobe Champion

@ShashiCh you can do some basic error investigation in the UI, however API gives you access to raw data with errors. 

Find below the details of the API 

https://experienceleague.adobe.com/en/docs/experience-platform/ingestion/quality/error-diagnostics