Palantir said on November 17 that its redesigned Compare tab lets Foundry teams compare dataset versions by primary key and investigate unexpected changes between builds.

In our view, that makes it a practical way to check outputs against the Spark 4.0.1 upgrade Palantir announced in September.

The upgrade comes from Palantir's September 2026 announcements. "The version of Apache Spark used in Foundry transforms is being upgraded from 3.5.5 to 4.0.1 for all enrollments," the September 22 entry says. We covered it in our earlier story on the upgrade.

What is new for builders is the tooling. Palantir's November 2026 announcements describe a Compare tab that matches records by primary key and reports what changed. In our view, that lets a team measure whether an upgrade left its data intact.

What Palantir says it handles

"No action is required to enable this upgrade. Transforms runtime versions are managed automatically in the background through adjudication. For more detail, review the documentation on Transforms versions," the September entry says.

Palantir says Spark 4 introduces breaking changes, which it says are set out in the Apache Spark migration guide. "Foundry mitigates these changes in the transforms API layer, and Palantir has tested the upgrade to preserve existing workflow behavior," it says.

We think that sentence frames the job for most builders. Palantir has taken on the transforms API layer. What remains for teams is confirming the parts of the stack that are their own.

Where Palantir asks you to look

Palantir names two areas for attention. The first is custom dependencies: "Workflows that use custom dependencies may still require updates to ensure those dependencies are compatible with Spark 4."

The second is jobs where a change would be costly. "With an upgrade, the performance of existing pipelines may be affected and new bugs may occur. For high-risk jobs, use a temporary pin to control the new Spark version rollout until you have confirmed the upgrade to be issue-free for your workflows," Palantir says.

A checklist for the move

  1. Read the entry and the page it names. Start with the Spark 4.0.1 entry, then the Transforms versions documentation it points to.
  2. Name your high-risk jobs. These are the outputs that would hurt most if a value, a row count or a run time changed. Palantir's temporary-pin advice is written for these jobs.
  3. Decide what "issue-free" means for each one. Palantir's pin is meant to hold until you have confirmed the upgrade is issue-free. We think teams should write down in advance which columns, counts and run times they will check.
  4. List every custom dependency. Check each library's compatibility with Spark 4. Palantir names these workflows as the ones that may still need updates.
  5. Pick a primary key for each output you will check. The Compare tab needs one. "Select one or more primary-key columns to match corresponding records across the two sides of a comparison," Palantir says.
  6. Compare a build from before the upgrade with one after it. Palantir says you can "Compare versions of the same dataset or table across history and branches, or compare different datasets and tables to understand how their contents differ." Using history this way to check a Spark change is our suggestion, built on the uses Palantir lists.
  7. Run the comparison. "To use the Compare tab, open a dataset or Iceberg table in Dataset Preview and select Compare. Choose the resources, branches, and versions to compare, then select primary-key columns in the Data section and choose Calculate changes," Palantir says.
  8. Read the results against your criteria from step 3. Palantir says you can "See how many records were added, removed, or modified, and inspect before-and-after values. Column-level match rates help you find where values differ most, and drilldowns surface affected records and common value changes."
  9. Send any fixes through a proposal, and compare again before merging. Palantir lists "validate transformation changes before merging" among the Compare tab's uses. The Changes tab on a branching proposal, added in September, "provides a centralized view of all resource changes on your proposal," Palantir says.

Why the Compare tab fits this job

"Investigate unexpected changes between builds, validate transformation changes before merging, or check the results of a pipeline migration. Review data changes alongside schema, lineage, code, and security comparisons to help understand what changed and why," the November entry says.

Palantir does not present the tab as a Spark-upgrade tool. In our view, a runtime upgrade is a textbook case of "unexpected changes between builds": when the code is unchanged, a team wants evidence the data is too.

"The redesigned Compare tab in Dataset Preview brings primary-key-based data comparisons to both Foundry datasets and Iceberg tables," Palantir said on November 17. It added: "This feature will roll out to users incrementally over the next few weeks."

What about faster pipelines in Pipeline Builder?

Palantir's Spark 4.0.1 entry concerns Foundry transforms. Faster pipelines, which Palantir says are powered by the open-source DataFusion query engine, became the default for new Pipeline Builder pipelines on November 3.

The newer step is bulk migration, announced November 17. "For a project containing standard batch pipelines, select Convert to Faster and choose the projects to include. Bulk migration checks whether each pipeline is compatible with faster pipelines and creates a proposal for each eligible pipeline," Palantir says.

Palantir adds that "Pipeline Builder skips pipelines that already use faster pipelines or do not meet the conversion requirements." Then: "Review and merge each proposal to apply the changes to the pipeline's main branch."

We think teams should treat conversion as a speed and compute decision in its own right, not as a Spark-upgrade plan. If a team converts, the Compare tab's listed use, to "check the results of a pipeline migration," makes it a natural partner for reviewing each proposal.

Watch out for

  • Custom dependencies. Palantir names these as possibly needing updates for Spark 4.
  • Performance, not just results. Palantir warns performance may be affected, so track run times alongside data.
  • Compare tab availability. Palantir said on November 17 the tab would roll out incrementally over the following weeks.
  • Primary keys. The Compare tab matches records by primary-key columns, so choose them before you compare.

What to watch

In our view, pairing a managed runtime upgrade with a primary-key data diff gives teams something concrete to show before they lift a pin: counts of added, removed and modified records, and column-level match rates, checked against criteria they set in advance. We think step 3, written criteria for each pinned job, is the step that most shapes a smooth move.

Palantir said on November 17 the Compare tab would roll out incrementally over the following weeks, so check whether it has reached your enrollment.