Expand my Community achievements bar.

What are the possibilities of deleting Field group without removing/detaching the dataset through schema registry API ?

Avatar

Level 2

Hi Team, 


Please share your thoughts on deleting the field group from a profile enabled schema, without removing or deleting the associated dataset.

I tried doing the same or as a matter of fact tried removing few specific fields from Field group, but none worked and ultimately have to detach the dataset. Please share the smarter approach.

And according to chatgpt, none of these are possible in Prod environment, is it true ?

suyashkansal_0-1767705312890.png

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Employee Advisor

@suyashkansal I think this is well documented, I believe the idea is that once data has been ingested into a schema (or the schema is enabled for Profile), Platform locks down destructive changes.

Avatar

Level 2

Hi @Tof_Jossic , quick question—slightly off-topic from the original post.

When ingesting data in AEP, is it ingested into the schema or into a dataset?


I’m new to AEP, and my understanding is that the schema defines the structure (the skeleton), which is then used to create a dataset where the actual data is stored. Is that correct?

Avatar

Level 2

Hi @Tof_Jossic : Its ingested to dataset basis schema class and fields.

Avatar

Community Advisor and Adobe Champion

Hi @OmarGo2 ,

you are correct, the schema defines the structure and the dataset is a physical database table based upon that schema template.

What's important to understand is that changes to the schema like adding fields will be reflected in datasets that have already been created. So you won't need to create a new dataset when the schema is extended.

 

Schema modifications, however, only allow additive changes, and removing fields is considered a breakinf change once the field has received data.

(this has even been stricter in the past where you just could not remove fields at all, even if they have never received data)

 

But to come back to your basic question: I do not think it is possible to swap the field group of a field, since the field is residing in one specific path e.g., _acme.path.to.field, and to move a field from one field group to another, you would first and foremost have to redeclare the same path in the field group which will give you an error because of the reused path.

 

Cheers from Switzerland!