Number of source fields has changed

More
1 year 9 months ago - 1 year 9 months ago #24388 by Derrick
Hello,

I have a problem with a transformation, and I am getting an error stating number of source fields has changed. I cannot find a problem with the number of source fields.
Is there a place I can find the anomaly?
This is an XML transformation to SQL Server.
I see the error, but I cannot find the problem.
 
Last edit: 1 year 9 months ago by Derrick.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #24399 by admin
Hi Derrick.

XML is very flexible format which makes is difficult to work with.
XML tags may have different order in different files or some tags can be optional
The best way to deal with it is to convert it to more stable format using XSLT

Here are some basic examples:

www.etl-tools.com/wiki/knowledgebase/tips/xml-transformation/  

Anyway.

Can you provide us with sample of your data, data transformation and table creation script and we will have a look at it for you.

Mike
ETL Architect
Last edit: 1 year 9 months ago by admin.

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save