Message
Enabling overwrite is only recommended for authoring and not for scheduled or automated runs.
Description
The overwrite method is not recommended for scheduled or automated runs due to the following:
- Overwrite can alter the schema, geometry, and records contained in a feature layer. This can result in broken downstream workflows that are dependent on specific fields or geometry types, such as maps and other applications.
- Unlike the other output methods, overwrite does not rollback on failure. This means if the write process fails during a run, the data in the layer to overwrite may be lost until the data pipeline is run again.
It is recommended to use overwrite in the following scenarios:
- You are authoring a data pipeline in the editor and want to rerun it after making adjustments to the workflow.
- You want to change the geometry type or the schema of an existing feature layer.
Solution
Consider modifying the data pipeline to use the Replace or Add and update output method to maintain a consistent schema and geometry type across runs. To learn more about output methods, see the output Feature layer topic.
If the goal is to change schema or geometry type across runs, no action is required.