title: Creating a primary key data health expectation in Palantir Foundry Code Repositories
body: <p>I have a dataset that is the output of a Python transform defined in Palantir Foundry Code Repository. It has a primary key, but given that over time the data may change I want to validate this primary key holds in the future.</p>
  <p>How can I create a data health expectation or check to ensure the primary key holds in future?</p>