Question with .overwrite partitions | Community
Skip to main content
Level 6
October 22, 2021
Solved

Question with .overwrite partitions

Hi there,

 

We have a .overwrite partition for customer profiles that is broken into 26 partitions. If our data looks like this:

Customer ID (Cross Device ID)Key Value PairsIn partition
1"product_id" = "123", "activated" = "Y".02
1"product_id" = "223", "activated" = "N".26

 

I am wondering for customer 1, which profile would they get? Would they get product 123, or product 223, or both? I am hoping it's both but since this is a .overwrite method, I am not sure if it will get product 223 because it's in the .26 partition which will get processed after .02 and overwrite it?

 

Thanks,

Alan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ankita_Sodhi
Ankita_SodhiAccepted solution
Employee
November 9, 2021

Hello @akwankl ,

 

Hope you are keeping well!

In the above example, only product_id=223 and activated=n will stay as we are talking about overwrite files.

AAM will consider only the last record for that customerID when it comes to overwrite files.

 

Regards

Ankita Sodhi

4 replies

Ankita_Sodhi
Ankita_SodhiAccepted solution
Employee
November 9, 2021

Hello @akwankl ,

 

Hope you are keeping well!

In the above example, only product_id=223 and activated=n will stay as we are talking about overwrite files.

AAM will consider only the last record for that customerID when it comes to overwrite files.

 

Regards

Ankita Sodhi

Translate
akwanklAuthor
Level 6
May 25, 2022

Hi @ankita_sodhi 

 

Just wanted to follow up on this, even if the files are partitioned files being sent to AAM, it will still only consider the last record?

Translate
Ankita_Sodhi
Employee
May 30, 2022

Hello @akwankl ,

 

In case of overwrite files, yes the last record will be considered and will overwrite all others.

Translate