Skip to main content

table_exists

Operations on a table_exists resource.

Overview

Nametable_exists
TypeResource
Iddatabricks_workspace.unitycatalog.table_exists

Fields

NameDatatype
table_existsboolean

Methods

NameAccessible byRequired ParamsDescription
existsSELECTfull_name, deployment_nameGets 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 }}';