Skip to main content

feature_engineering_streams

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

Overview

Namefeature_engineering_streams
TypeResource
Iddatabricks_workspace.ml.feature_engineering_streams

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringFull three-part (catalog.schema.stream) name of the stream.
browse_onlybooleanIndicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.
connection_configobjectSpecifies how to connect and authenticate to the stream platform.
create_timestring (date-time)Time at which this Stream was created.
created_bystringUsername of the Stream creator.
descriptionstringUser-provided description.
ingestion_configobjectConfiguration for streaming data ingestion: the managed table storing an offline copy of forward fill data and optional historical backfill.
schema_configobjectSchema definitions for the stream, provided either directly on the Stream or resolved from an external schema registry through a UC Connection.
source_configobjectSource-specific configuration. Determines the streaming platform source.
update_timestring (date-time)Time at which this Stream was last modified.
updated_bystringUsername of user who last modified the Stream.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, deployment_nameGet a Stream by its full three-part name (catalog.schema.stream).
listselectdeployment_namepage_size, page_token, parentList Streams under a given catalog.schema parent.
createinsertdeployment_name, streamCreate a Stream, a governed UC entity representing an external streaming data source.
updateupdatename, update_mask, deployment_name, streamUpdate a Stream. Only fields listed in update_mask are mutated.
deletedeletename, deployment_nameDelete a Stream by its full three-part name (catalog.schema.stream).

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)
namestringFull three-part name (catalog.schema.stream) of the Stream to delete.
update_maskobjectThe list of fields to update.
page_sizeintegerThe maximum number of results to return.
page_tokenstringPagination token to go to the next page based on a previous query.
parentstringTwo-part name (catalog.schema) of the parent under which to list Streams.

SELECT examples

Get a Stream by its full three-part name (catalog.schema.stream).

SELECT
name,
browse_only,
connection_config,
create_time,
created_by,
description,
ingestion_config,
schema_config,
source_config,
update_time,
updated_by
FROM databricks_workspace.ml.feature_engineering_streams
WHERE name = '{{ name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;

INSERT examples

Create a Stream, a governed UC entity representing an external streaming data source.

INSERT INTO databricks_workspace.ml.feature_engineering_streams (
stream,
deployment_name
)
SELECT
'{{ stream }}' /* required */,
'{{ deployment_name }}'
RETURNING
name,
browse_only,
connection_config,
create_time,
created_by,
description,
ingestion_config,
schema_config,
source_config,
update_time,
updated_by
;

UPDATE examples

Update a Stream. Only fields listed in update_mask are mutated.

UPDATE databricks_workspace.ml.feature_engineering_streams
SET
stream = '{{ stream }}'
WHERE
name = '{{ name }}' --required
AND update_mask = '{{ update_mask }}' --required
AND deployment_name = '{{ deployment_name }}' --required
AND stream = '{{ stream }}' --required
RETURNING
name,
browse_only,
connection_config,
create_time,
created_by,
description,
ingestion_config,
schema_config,
source_config,
update_time,
updated_by;

DELETE examples

Delete a Stream by its full three-part name (catalog.schema.stream).

DELETE FROM databricks_workspace.ml.feature_engineering_streams
WHERE name = '{{ name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
;