Change in the field datatype in the schema doesn't reflect in the datamapping | Community
Skip to main content
Level 2
February 8, 2023
Solved

Change in the field datatype in the schema doesn't reflect in the datamapping

  • February 8, 2023
  • 1 reply
  • 626 views

Hello All,

 

We have a situation, where the datatype of one of the schema attribute changed from string to array of string. The schema is not enabled for profile. We made the changes. But I see that the ingestion is still failing because of type mismatch. It's still seeing the schema attribute type to be string.
Will I have to recreate the dataflow from scratch? I am not sure of the issue because we don't specify the attribute's datatype in the data mapping.

 

Thanks in advance.

 

Regards

Abhishek

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

What if you add a new field in your schema for the array of string? So you have 2 fields: one that is the original one that is of string type, the other new one that is of array of string type. That also gives you the flexibility of sending data with either type.

1 reply

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
February 9, 2023

What if you add a new field in your schema for the array of string? So you have 2 fields: one that is the original one that is of string type, the other new one that is of array of string type. That also gives you the flexibility of sending data with either type.