table_exists
Operations on a table_exists
resource.
Overview
Name | table_exists |
Type | Resource |
Id | databricks_workspace.unitycatalog.table_exists |
Fields
Name | Datatype |
---|---|
table_exists | boolean |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
exists | SELECT | full_name, deployment_name | Gets if a table exists in the metastore for a specific catalog and schema. The caller must satisfy one of the following requirements: |
SELECT
examples
SELECT
table_exists
FROM databricks_workspace.unitycatalog.table_exists
WHERE full_name = '{{ full_name }}' AND
deployment_name = '{{ deployment_name }}';