19 - The Ontology and Data Type Updates

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

You'll need to wait a few moments for the build to finish and the sync (to the object storage service) to run. Following steps in a previous task, you'll see that the sync fails due to a schema mismatch error.

🔨 Task Instructions

  1. Open your flight alert object type in Ontology Manager and refresh your browser page.

  2. From the Overview menu, click the Edit link at the top of the Properties block near the middle of the page.

    • Notice in the backing dataset preview along the bottom of the page that Risk Premium is now a Integer type.
  3. Click the Risk Premium property in the object mapping block, and scroll down in the property overview to the Type section.

  4. Change the property type to a Integer.

    • If you see an error manifest in the top right of your screen, refresh your browser.
  5. Before saving, you will need to hover over the Category property on the right column and click on the bin to remove it otherwise you would try to save a category property that is not linked to any column.

  6. Save your Ontology.

In the course of making the kinds of Ontology edits discussed in this tutorial, you may encounter other error messages. Consult the troubleshooting guide for editing object types to some of the most common errors. You will also find short feature-specific troubleshooting guides (like this one) on many of the Ontology documentation pages.

ℹ️ The tasks in this exercise cover data type changes and column removals but notably not column additions. This is because these tend to be unproblematic. If you add a column to a backing dataset and want to surface it as a property in on your object type, you simply need to map the column in Ontology Manager. Additive schema changes require no corrective action.