Skip to main content
Solved

how to compare two schema to see if there are duplicate fields?

  • November 12, 2019
  • 1 reply
  • 29 views

lobsterboy

As stated in the title,

I want to compare two schemas to see if they have duplicate field names.

My idea is to use the Change Detector, but i do not know how to expose field names from an reader

 

Any thoughts?

 

Best answer by david_r

You can use the "Schema (any format)" reader to get a list of all the fields in each schema. You can then use the ListExploder on the list before sending it to the ChangeDetector.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • November 13, 2019

You can use the "Schema (any format)" reader to get a list of all the fields in each schema. You can then use the ListExploder on the list before sending it to the ChangeDetector.