Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Minerva

Minerva and its role in the runtime layer.

Minerva is a dynamic resource in DataOS. It gives you a Trino-based distributed SQL engine that queries depots and lakehouse data through a single endpoint, provisioned on demand.

When you create a Minerva resource, the operator spins up the runtime (coordinator and workers) and the underlying service resources. Once it's ready, the gateway registers Minerva and exposes a Trino-compatible SQL endpoint. From there, any SQL client can query every configured depot as a unified catalog. You don't manage the infrastructure.

Minerva handles:

  • A scalable SQL query layer over DataOS depots.

  • Catalog configuration from depot references and secrets.

  • A query endpoint for BI tools, apps, and notebooks.

Building blocks

  • Minerva domain definition - The artifact that bootstraps the Minerva resource type.

  • Minerva resource (dynamic) - Declarative spec defining compute, depots, and the runtime user (runAsUser).

  • Operator - Poros manages the resource lifecycle and generates the underlying services.

  • Coordinator and workers - The Trino runtime that executes queries.

  • Depots - Catalog config and secret projection for accessing data sources.

Setup and query flow

Confirm Minerva query and predicate-pushdown support for your source in Supported connectors.

  1. Verify prerequisites. Minerva domain exists; required depots are ready.

  2. Write the resource manifest. Define compute, depots, and runAsUser.

  3. Apply it. Create the dynamic Minerva resource.

  4. Provisioning. The operator brings up coordinator and worker services.

  5. Gateway registration. Minerva registers with the gateway over the Trino protocol on port 7432.

  6. Query. Users query depots through the Minerva endpoint.

Create a Minerva resource

Create a Minerva resource after your compute and depots are ready. The manifest defines the runtime, its capacity, and exposed depot catalogs.

Follow Create a Minerva resource to write, apply, and verify the resource.

Troubleshoot and monitor Minerva

Use runtime signals to diagnose provisioning, catalog, and query failures. Monitor the coordinator, workers, and catalog initialization after deployment.

See Troubleshoot and monitor Minerva for failure causes, operational guidance, and health signals.

Query from Workbench

Use Workbench to validate the Minerva connection and explore depot data. Workbench sends SQL through the Minerva endpoint. Each configured Depot appears as a catalog.

Before you begin, verify that the Minerva resource is ready. Your access must also permit querying each target Depot.

Start a bench

  1. Open Workbench in DataOS.

  2. Select New bench.

  3. Select your Minerva resource as the query engine.

  4. Wait for the catalog browser to load.

Browse the catalog

Each catalog maps to a Depot declared in the Minerva resource. Expand catalogs to inspect schemas, tables, and columns.

Confirm column names and types before writing a query. A missing catalog can indicate an undeclared or inaccessible Depot.

Run and refine queries

Start with a narrow query and a limited result set. This confirms the connection and avoids scanning unnecessary data.

Use fully qualified dataset names when the active catalog is unclear: catalog.schema.table. Filter, join, or aggregate after validating the expected records.

Save the bench when the query needs reuse or sharing. See Troubleshoot and monitor Minerva for query failures and runtime health checks.


Command reference

A Minerva cluster has no dedicated dataos-ctl command group: manage it through the generic resource commands, scoped with -t minerva.

Command
Purpose
Reference

dataos-ctl resource apply -f <resource-spec.yaml>

Create or update a Minerva cluster from a manifest

dataos-ctl resource get -t minerva -a

List Minerva clusters

dataos-ctl resource log -t minerva -n <name>

Read coordinator/worker logs when troubleshooting

dataos-ctl resource delete -t minerva -n <name>

Delete a Minerva cluster

Last updated

Was this helpful?