This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
How do we repair the registered table and index? When a destructive change to a backing dataset is made involving a column removal or type change, you'll need to remove the property from the mapping and update the Phonograph table registration, which will initiate a reindex of the new table. Put succinctly, the corrective workflow is:
⚠️ WARNING: "Destructive" schema changes to your backing datasets may cause you to lose edits made through Actions (or otherwise). To avoid data loss, consult the recommended reading at the bottom of this task.
rule_name
property from the right side of the mapping.Although we won't step through an example here, note that if the destructive change is a type change in a backing dataset column (e.g., timestamp to date), the process is slightly different. In that case you would:
date
type).There's more to explore around the notion of backing dataset changes, especially when they are on columns that have received edits through the writeback process previously discussed. To learn more, review Potential breaking changes in Edit object type on breaking changes.