uc_table_create
Creates a table in Databricks Unity Catalog by specifying catalog, schema, name, and table type. Supports managed, external, view, and other types with optional columns, partitions, and constraints.
Instructions
Create a table (POST /api/2.1/unity-catalog/tables).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Table name | |
| catalog_name | Yes | Parent catalog name | |
| schema_name | Yes | Parent schema name | |
| table_type | Yes | MANAGED | EXTERNAL | VIEW | MATERIALIZED_VIEW | STREAMING_TABLE | FOREIGN | |
| data_source_format | No | DELTA | CSV | JSON | AVRO | PARQUET | ORC | TEXT | UNITY_CATALOG | DATABRICKS_FORMAT | |
| columns | No | ||
| storage_credential_name | No | ||
| comment | No | ||
| properties | No | ||
| partition_columns | No | ||
| cluster_keys | No | ||
| options | No | ||
| constraints | No | ||
| row_filter | No | ||
| column_mask | No | ||
| tags | No | ||
| view_definition | No | ||
| sql_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |