Querying (Minerva)
Query Depot-connected data interactively through Minerva's Trino-compatible SQL endpoint.
Minerva exposes Depot data through a Trino-compatible endpoint. Each configured Depot is available as a catalog for querying.
Query Depot data with Minerva
Add a Depot to a Minerva resource to make its datasets available through SQL. Use the Depot name as the Trino catalog, then qualify datasets as catalog.schema.table.
Minerva queries data in the connected source system. It does not copy data before running the query. Your runtime identity needs permission to use both the Minerva resource and the Depot.
Prerequisites
Before querying a Depot through Minerva, the following should be ready:
The Depot exists, and its source credentials are valid.
Data Source connected via Depot should support Trino.
A Minerva domain is available in the instance.
A compute is available for the Minerva workload.
The runtime user has access to the Depot.
Example Minerva Resource
The following example exposes the S3, GCS, and ABFSS Depots through Minerva:
name: minerva026
version: v1alpha
type: minerva
tags:
- minerva
- dataos:type:resource
- dataos:type:tenant-resource
spec:
compute: universe-compute
depots:
- address: "dataos://mys3lh26depot?purpose=rw"
- address: "dataos://mygcslh26depot?purpose=rw"
- address: "dataos://myabfsslh26depot?purpose=rw"
runAsUser: iamgroottmdcio
coordinatorEnvs:
VERBOSE_CONFIG: "true"
workerEnvs:
VERBOSE_CONFIG: "true"Query the data
Once Minerva Resource is ready, you can query using the Workbench interface.
For full Minerva configuration details, see Minerva.
Last updated
Was this helpful?