I have multiple tables and need to check if their schemas conform to specs which are specified in text files containing field names separated by line breaks. How can I compare if the field names are mapped correctly?
Question
How to compare attribute schema with a file containing column names?
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.


A few things to keep in mind, you may want to use Group By fme_feature_type in the SchemaScanner to ensure you are getting a single feature per feature type (table). Also, make note of the Ignore Attributes Containing to get rid of the format/feature attributes that aren't relevant and whether you want empty attributes to be included or not (in this case you likely want to set it to Use Default Data Type depending on what your tables look like).
If you are using a version of FME that doesn't have the SchemaScanner,