All URIs are relative to http://localhost:8080/api/2.1/unity-catalog
StagingTableInfo createStagingTable(CreateStagingTable)
Create a staging table
Creates a new staging table instance. Staging tables are used during managed table creation. Creating a managed table requires performing two actions – initializing the table data in cloud storage and creating the named table entry in the catalog – and these should appear as an atomic operation to other operations on catalog tables. A staging table is used to allocate storage for the managed table, and the catalog_name.schema_name.name parameters provided in this request are used to initialize any required storage properties and determine the storage URL that should be used for the data contained by this table. Temporary credentials can be obtained as though the staging table were a regular table to get access to the staging table’s storage. After the table’s data is initialized, the staging table is “promoted” to a managed table by creating a managed table with the same location as the staging table. This allows for the atomic creation of a managed table that already has full data written to its storage location. Note: the name provided must match the name used to initialize the staging table originally. WARNING: This API is experimental and may change in future versions.
| Name | Type | Description | Notes |
|---|---|---|---|
| CreateStagingTable | CreateStagingTable | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
TableInfo createTable(CreateTable)
Create a table. Only external table creation is supported. WARNING: This API is experimental and will change in future versions.
Creates a new external table instance. WARNING: This API is experimental and will change in future versions.
| Name | Type | Description | Notes |
|---|---|---|---|
| CreateTable | CreateTable | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
oas_any_type_not_mapped deleteTable(full_name)
Delete a table
Deletes a table from the specified parent catalog and schema.
| Name | Type | Description | Notes |
|---|---|---|---|
| full_name | String | Full name of the table. | [default to null] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
TableInfo getTable(full_name, read_streaming_table_as_managed, read_materialized_view_as_managed)
Get a table
Gets a table for a specific catalog and schema.
| Name | Type | Description | Notes |
|---|---|---|---|
| full_name | String | Full name of the table. | [default to null] |
| read_streaming_table_as_managed | Boolean | Whether to read Streaming Tables as Managed tables. | [optional] [default to true] |
| read_materialized_view_as_managed | Boolean | Whether to read Materialized Views as Managed tables. | [optional] [default to true] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
ListTablesResponse listTables(catalog_name, schema_name, max_results, page_token)
List tables
Gets the list of all available tables under the parent catalog and schema. There is no guarantee of a specific ordering of the elements in the array.
No authorization required
- Content-Type: Not defined
- Accept: application/json
