AEP: CSV Ingestion into Object Array Schema – Overwriting Issue + Mapping/Transformation Clarification (Snowflake too)
Hi all,
I’m working with an XDM Individual Profile schema in AEP that includes a custom array of objects. This array is defined in a custom namespace and sits one level under the profile, for example:
{
"_tenant": {
"customArrayObject": [
{
"fieldA": "value",
"fieldB": "value"
},
{
"fieldA": "value",
"fieldB": "value"
}
]
}
}My source file is in CSV format, with multiple rows for the same identity (same ID). Each row represents one object that should go into the array. Example:
ID FieldA FieldB
123 value A value B
123 value C value D
123 value E value FIssue:
When I ingest this into AEP (via UI upload or dataset), only the last row is retained, the earlier ones are overwritten. The array is not constructed.
My Questions:
Is this behavior expected when using CSV to populate object arrays?
Are any transformations or mapping logic available during CSV ingestion that would allow grouping these rows into an array under one profile?
I also have a Snowflake connection set up in AEP, if I ingest the same structured data using that source, would the array transformation behave differently? Or would it still require JSON-style structure before ingestion?
Is JSON ingestion still the only reliable way to preserve nested arrays like this?