Palantir’s Ontology SQL is GA—but its execution limits should shape your rollout
Foundry teams can query governed objects with SQL and publish reusable functions, while automatic engine routing, a 20-second timeout and a 10,000-row cap define the practical boundary.
Palantir has made Ontology SQL and SQL functions generally available across all Foundry enrollments as of the week of November 9. The release gives teams a SQL interface over Ontology object types, interfaces and many-to-many links, and lets them publish parameterized queries as Foundry functions for use in Workshop, Actions, Automate and the Ontology SDK. SQL Studio also provides an AI-assisted interface for analysis of tabular data and Ontology objects, according to the November announcement.
That makes the feature relevant to data-agent deployments, but it does not turn the Ontology into an unrestricted warehouse endpoint. Palantir’s Ontology SQL documentation defines a read-only surface: queries are limited to one SELECT statement, apart from an optional DECLARE, and cannot mix Ontology objects with datasets in the same query. Write operations and schema changes are not supported.
Treat engine routing as part of the contract
Supported query shapes run directly against object storage through an in-memory path, while more complex work can be routed automatically to Spark. The documentation says the object-storage service chooses the compute engine after planning. Teams therefore should not assume that two syntactically similar generated queries have the same latency or resource profile.
The practical rollout step is to test representative query shapes, not only successful SQL compilation. Palantir documents a 20-second execution timeout, a possible queue of up to six seconds when Spark resources are saturated, and a NotEnoughSparkResources failure when those limits are exceeded. The GA announcement also lists better planning and execution observability as future work, rather than a capability teams can rely on today.
Put limits into prompts and application checks
Ontology SQL truncates output at 10,000 rows, and applications can impose stricter caps. Functions inside filter conditions or filters over computed columns can prevent index use and sharply reduce scale, while selecting large vector columns can increase execution time and memory use. Those are not merely tuning notes for an AI-assisted interface: they are constraints that should be represented in agent instructions, query review rules and regression tests.
A sensible production gate has three parts. First, constrain generated SQL to the documented read-only, single-statement surface. Second, test whether common requests stay on an acceptable execution path under realistic concurrency. Third, make truncation and resource failures visible to users instead of presenting a partial result as a complete answer.
Ontology SQL’s GA status removes an availability question. It does not remove the need to validate query shape, engine choice and result completeness before an AI-generated analysis is trusted.
sources
- Palantir Foundry November 2026 announcementswww.palantir.com
- Palantir Ontology SQL documentationwww.palantir.com
comments · 0
- Databricks SQL can restore a dropped catalog. Its tables still need a separate recovery.Dec 5, 2026
- Databricks can publish Claude Code and Codex policies, but applying them takes a device rolloutDec 5, 2026
- How to verify who can call Genie One MCP after Databricks’ Dec. 7 permissions rolloutDec 5, 2026