SQL Commands
Reference index of 207 sql commands in DeltaForge: complete catalogue grouped by category, each linking to detailed syntax and examples.
api-endpoint
assertions
catalog
configuration
- ALTER CONNECTIONModifies an existing connection: replaces options, swaps credential references, or renames.
- ALTER CREDENTIAL STORAGEModifies one or more attributes of an existing credential-storage backend: description, config options...
- ALTER EXTERNAL LOCATIONUpdates an existing external location's URL, bound credential, options, owner, or comment.
- ALTER STORAGE CREDENTIALUpdates an existing storage credential's options, owner, or comment. Replaces options atomically with the...
- ALTER VAULT / ALTER CREDENTIALModifies a vault entry: rotates encryption-key material, replaces a credential secret, updates metadata, or...
- CREATE CONNECTIONRegisters an external-system connection (database, object store, git host, SFTP, or REST API) used by schema...
- CREATE CREDENTIAL STORAGERegisters a cloud key-vault-style credential-storage backend (Azure Key Vault, AWS Secrets Manager, or GCP...
- CREATE EXTERNAL LOCATIONRegisters a storage URL bound to a storage credential as a managed external location.
- CREATE STORAGE CREDENTIALCreates a named storage credential that supplies authentication material to external locations.
- CREATE VAULT / CREATE CREDENTIALCreates a vault entry, either an encryption key (material generated by DeltaForge) or a credential...
- DESCRIBE CONNECTIONEmits metadata for a single connection. Sensitive option values are masked server-side.
- DESCRIBE CREDENTIAL STORAGEEmits metadata for a single credential-storage backend. Secret config material is never included.
- DESCRIBE EXTERNAL LOCATIONReturns the URL, credential binding, and metadata for an external location.
- DESCRIBE STORAGE CREDENTIALReturns metadata about a storage credential. Secret material is never returned.
- DESCRIBE VAULT / DESCRIBE CREDENTIALEmits metadata for a single vault entry. Secret material is never included in the output.
- DROP CONNECTIONRemoves a connection registration. External tables registered through this connection must be dropped or...
- DROP CREDENTIAL STORAGERemoves a credential-storage backend. Fails if any vault entries still reference it unless those entries are...
- DROP EXTERNAL LOCATIONRemoves an external location registration. The underlying storage and any data it contains are not touched.
- DROP STORAGE CREDENTIALRemoves a storage credential. Grants on the credential are also removed; external locations bound to the...
- DROP VAULT / DROP CREDENTIALRemoves a vault entry and wipes its backend-stored material. VAULT and CREDENTIAL are keyword aliases.
- SHOW CONNECTIONSLists all registered external connections, optionally filtered by a LIKE substring.
- SHOW CREDENTIAL STORAGESLists all registered credential-storage backends, optionally filtered by a LIKE pattern on display_name.
- SHOW EXTERNAL LOCATIONSLists all external locations, optionally filtered by a LIKE pattern.
- SHOW STORAGE CREDENTIALSLists all storage credentials, optionally filtered by a LIKE pattern.
- SHOW VAULTS / SHOW CREDENTIALSLists vault entries, optionally filtered by entry kind and a LIKE substring on display_name. VAULTS and...
- TEST CONNECTIONProbes connectivity to the external system referenced by a connection, returning success/latency/error and...
- TEST CREDENTIAL STORAGERuns the reachability probe on a credential-storage backend (the same probe executed by the GUI 'Test'...
data-loading
ddl
- ALTER TABLE ADD COLUMNAdds a single column to an existing Delta table's schema.
- ALTER TABLE ADD COLUMNSAdds multiple columns to an existing Delta table in a single atomic operation.
- ALTER TABLE ADD CONSTRAINTAdds a CHECK, NOT NULL, PRIMARY KEY, or UNIQUE constraint to an existing Delta table.
- ALTER TABLE ALTER COLUMN DROP DEFAULTRemoves the default value expression from a column. INSERTs that omit the column afterward receive NULL (or...
- ALTER TABLE ALTER COLUMN DROP NOT NULLRemoves the NOT NULL constraint from a column, allowing null values.
- ALTER TABLE ALTER COLUMN SET DEFAULTSets a default value expression for a column. The expression is stored verbatim in the column's metadata and...
- ALTER TABLE ALTER COLUMN SET METADATASets or updates JSON metadata on a column for type widening tracking, custom annotations, or...
- ALTER TABLE ALTER COLUMN SET NOT NULLSets a column to NOT NULL, disallowing null values in future writes.
- ALTER TABLE ALTER COLUMN TYPEChanges the data type of an existing column via type widening. Requires the delta.enableTypeWidening table...
- ALTER TABLE CHANGE COLUMNMoves an existing column to a new position in the table schema without rewriting data files.
- ALTER TABLE CLUSTER BYConfigures or disables liquid clustering on a Delta table.
- ALTER TABLE DROP COLUMNDrops a column from a Delta table's schema using column mapping. The physical data remains in Parquet files.
- ALTER TABLE DROP CONSTRAINTDrops a named CHECK or NOT NULL constraint from a Delta table.
- ALTER TABLE RENAME COLUMNRenames an existing column in a Delta table using column mapping. The physical column name in Parquet files...
- ALTER TABLE RENAME TORenames a table in the catalog and DataFusion session without modifying underlying Delta files.
- ALTER TABLE REPLACE COLUMNSReplaces the entire column schema of a Delta table with a new set of columns in a single atomic operation.
- ALTER TABLE SET TBLPROPERTIESSets one or more table properties on an existing Delta table, used to enable features such as column...
- ALTER TABLE UNSET TBLPROPERTIESRemoves one or more table properties from an existing Delta table.
- CREATE DELTA TABLECreates a new Delta table with an explicit schema, optional partitioning, liquid clustering, table...
- CREATE VIEWCreates or replaces a named view backed by a SQL query.
- DROP DELTA TABLERemoves a Delta table from the session and catalog. Optionally deletes the underlying physical data files.
- DROP FEATURERemoves a Delta table feature (e.g., deletion vectors, change data feed, type widening) and optionally...
- DROP VIEWRemoves one or more views from the catalog and DataFusion session.
dml
graph
incremental
indexing
maintenance
metastore
pipeline
pseudonymisation
security
- ALTER GROUP ADD USERAdds one or more users to a group.
- ALTER GROUP REMOVE USERRemoves one or more users from a group.
- ALTER ROLEUpdates an existing role's parent or comment.
- ALTER USERUpdates an existing user's default role or comment.
- CREATE GROUPCreates a group for collective role assignment.
- CREATE ROLECreates a role that bundles privileges and can inherit from a parent role.
- CREATE SERVICE PRINCIPALCreates a service principal: a non-human identity for automation, jobs, integrations, and pipelines.
- CREATE USERCreates a user identity in the catalog. Authentication material is provisioned separately by the identity...
- CREATE WORKSPACECreates a workspace boundary for isolating user assets, scripts, and pipelines.
- DROP GROUPRemoves a group. The Control Plane cascades the removal: memberships are deleted and direct grants on the...
- DROP ROLERemoves a role. The Control Plane cascades the removal: role grants and direct object grants for this role...
- DROP SERVICE PRINCIPALRemoves a service principal. The Control Plane cascades the removal: role grants and direct object grants...
- DROP USERRemoves a user identity. The Control Plane cascades the removal: role grants and direct object grants...
- DROP WORKSPACERemoves a workspace. The Control Plane cascades the removal across the workspace's grants and metadata.
- GRANT ON EXTERNAL LOCATIONGrants one or more privileges on an external location to a principal. Supports WITH GRANT OPTION for...
- GRANT ON SCHEMAGrants a single privilege on a schema to a user or role.
- GRANT ON STORAGE CREDENTIALGrants one or more privileges on a storage credential to a principal. Supports WITH GRANT OPTION.
- GRANT ON TABLEGrants a single privilege on a table to a user or role.
- GRANT ON ZONEGrants a single privilege on a zone to a user or role.
- GRANT ROLEGrants a role to a user, group, or service principal. Idempotent: re-granting an existing assignment...
- REVOKE ON EXTERNAL LOCATIONRevokes one or more privileges on an external location from a principal.
- REVOKE ON SCHEMARevokes a single privilege on a schema from a user or role.
- REVOKE ON STORAGE CREDENTIALRevokes one or more privileges on a storage credential from a principal.
- REVOKE ON TABLERevokes a single privilege on a table from a user or role.
- REVOKE ON ZONERevokes a single privilege on a zone from a user or role.
- REVOKE ROLERevokes a role from a user, group, or service principal. Idempotent: revoking a non-existent assignment...
- SHOW GRANTS ON EXTERNAL LOCATIONLists every principal that holds a privilege on a given external location.
- SHOW GRANTS ON STORAGE CREDENTIALLists every principal that holds a privilege on a given storage credential.
- SHOW GRANTS TO PRINCIPALLists every grant assigned to a principal across object types: roles, zones, schemas, tables, external...
- SHOW GROUPSLists groups in the catalog, optionally filtered by a LIKE pattern.
- SHOW ROLESLists roles in the catalog, optionally filtered by a LIKE pattern.
- SHOW SERVICE PRINCIPALSLists service principals in the catalog, optionally filtered by a LIKE pattern.
- SHOW USERSLists users in the catalog, optionally filtered by a LIKE pattern.
- SHOW WORKSPACESLists workspaces in the catalog, optionally filtered by a LIKE pattern.
select-grammar
statistics
system
table-info
- DESCRIBE CHECKPOINTLists transaction-log checkpoints for a Delta table, or returns detailed metadata for a single checkpoint...
- DESCRIBE DETAILReturns a comprehensive set of metadata properties for a Delta table, including format, location...
- DESCRIBE HISTORYReturns the version history of a Delta table, showing each commit's version number, timestamp, operation...
- DESCRIBE TABLEReturns the schema of a Delta table, listing each column's name, data type, nullability, partition status...
- SHOW TABLE PROPERTIESReturns the configuration properties (tblproperties) stored in a Delta table's metadata, displayed as...
utility