Skip to main content

postgres_forward_etl_metadata

Creates, updates, deletes, gets or lists a postgres_forward_etl_metadata resource.

Overview

Namepostgres_forward_etl_metadata
TypeResource
Iddatabricks_workspace.postgres.postgres_forward_etl_metadata

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
databasesarrayList of databases with their PostgreSQL OIDs.
schemasarrayList of schemas with their PostgreSQL OIDs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectparent, deployment_nametenant_id, timeline_idGet Forward ETL metadata (database and schema OIDs).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)
parentstringThe Branch to get metadata for. Format: projects/{project_id}/branches/{branch_id}
tenant_idstringTenant ID (dashless UUID format).
timeline_idstringTimeline ID (dashless UUID format).

SELECT examples

Get Forward ETL metadata (database and schema OIDs).

SELECT
databases,
schemas
FROM databricks_workspace.postgres.postgres_forward_etl_metadata
WHERE parent = '{{ parent }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND tenant_id = '{{ tenant_id }}'
AND timeline_id = '{{ timeline_id }}'
;