Updating Reader Feature Types
A final tool for reader feature types allows you to update them:
When you have created a workspace and more tables are added, then the Import tool is the one to use. However, when the schema of an existing table has changed, then the update tool is the one to use.
For example, I have a source feature type with this attribute schema:
The database administrator decides that the three PostBox attributes are no longer required and removes them from the database table. To fix my FME workspace to match, I would use the Update Feature Types tool.
.1 UPDATE |
The new Update Reader functionality in FME2017.1 also has the option to update the reader feature types too:
|
Miss Vector says... | |
Let's see if you can figure out which tool should be used in which scenario? Here are four scenarios and four tools or settings. Connect the scenario to the correct tool/setting. | |
Scenario | Tool |
Source filename changes | Add Reader |
Attribute type changes in database | Import Feature Type |
Additional database table needs reading | Update Feature Type |
New file dataset needs reading | Source Dataset Parameter |