Command Reference
The oh CLI is organized into command groups, one per resource type. Every command accepts --show-sql to preview the generated SQL without making a network call.
| Group | Commands | Description |
|---|---|---|
oh cluster | show describe create alter delete | Compute clusters |
oh lake | show create alter delete | Lakes (storage namespaces) |
oh database | show create delete | Databases within a lake |
oh table | show · service subgroup | Tables and background table services |
oh flow | show describe create alter delete | Ingestion pipelines from a source to a table |
oh source | show describe create delete | Data sources (Kafka, S3, Postgres, …) |
oh catalog | show describe create delete | External metastore catalogs |
oh transformation | show describe create delete | Row-level transformations applied during ingestion |
oh validation | show describe create delete | Data quality validations applied during ingestion |
oh job | show describe create create-and-run alter run show-runs describe-run cancel-run upload-jar replace-jar | JAR and Python Spark jobs |
oh service-principal | show create alter delete | Non-human identities for programmatic access |
oh api-token | create delete | API tokens scoped to a service principal |
oh sql | exec status | Execute raw SQL or check request status |
For global flags (--profile, --timeout, --output) that apply to every command, see Global options.