Lakeflow Declarative Pipeline
laktory.models.pipeline.LakeflowDeclarativePipelineOrchestrator
¤
Bases: Pipeline, PipelineChild
Lakeflow Spark Declarative Pipeline used as an orchestrator to execute a Laktory pipeline.
LDP orchestrator does not support pipeline nodes with views (as opposed to materialized tables). Also, it does not support writing to multiple schemas within the same pipeline.
Selecting this orchestrator requires to add the supporting notebook to the stack.
| BASE | DESCRIPTION |
|---|---|
allow_duplicate_names
|
Optional boolean flag. If false, deployment will fail if name conflicts with that of another pipeline. default is
TYPE:
|
budget_policy_id
|
optional string specifying ID of the budget policy for this Lakeflow Declarative Pipeline
TYPE:
|
catalog
|
The UC catalog the event log is published under
TYPE:
|
cause
|
TYPE:
|
channel
|
optional name of the release channel for Spark version used by Lakeflow Declarative Pipeline. Supported values are:
TYPE:
|
cluster
|
TYPE:
|
cluster_id
|
TYPE:
|
configuration
|
An optional list of values to apply to the entire pipeline. Elements must be formatted as key:value pairs. *
TYPE:
|
continuous
|
A flag indicating whether to run the pipeline continuously. The default value is
TYPE:
|
creator_user_name
|
TYPE:
|
deployment
|
Deployment type of this pipeline. Supports following attributes:
TYPE:
|
development
|
A flag indicating whether to run the pipeline in development mode. The default value is
TYPE:
|
edition
|
optional name of the product edition. Supported values are:
TYPE:
|
environment
|
TYPE:
|
event_log
|
an optional block specifying a table where LDP Event Log will be stored. Consists of the following fields:
TYPE:
|
expected_last_modified
|
TYPE:
|
filters
|
Filters on which Pipeline packages to include in the deployed graph. This block consists of following attributes:
TYPE:
|
gateway_definition
|
The definition of a gateway pipeline to support CDC. Consists of following attributes:
TYPE:
|
health
|
TYPE:
|
ingestion_definition
|
TYPE:
|
last_modified
|
TYPE:
|
latest_updates
|
TYPE:
|
library
|
TYPE:
|
name
|
The table name the event log is published to in UC
TYPE:
|
notification
|
TYPE:
|
photon
|
A flag indicating whether to use Photon engine. The default value is
TYPE:
|
restart_window
|
TYPE:
|
root_path
|
An optional string specifying the root path for this pipeline. This is used as the root directory when editing the pipeline in the Databricks user interface and it is added to
TYPE:
|
run_as
|
The user or the service principal the pipeline runs as. See run_as Configuration Block below
TYPE:
|
run_as_user_name
|
TYPE:
|
schema_
|
The UC schema the event log is published under
TYPE:
|
serverless
|
An optional flag indicating if serverless compute should be used for this Lakeflow Declarative Pipeline. Requires
TYPE:
|
state
|
TYPE:
|
storage
|
A location on cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. Change of this parameter forces recreation of the pipeline. (Conflicts with
TYPE:
|
tags
|
A map of tags associated with the pipeline. These are forwarded to the cluster as cluster tags, and are therefore subject to the same limitations. A maximum of 25 tags can be added to the pipeline
TYPE:
|
target
|
The name of a database (in either the Hive metastore or in a UC catalog) for persisting pipeline output data. Configuring the target setting allows you to view and query the pipeline output data from the Databricks UI
TYPE:
|
timeouts
|
TYPE:
|
trigger
|
TYPE:
|
url
|
URL of the Lakeflow Declarative Pipeline on the given workspace
TYPE:
|
usage_policy_id
|
TYPE:
|
| LAKTORY | DESCRIPTION |
|---|---|
access_controls
|
Pipeline access controls
TYPE:
|
config_file
|
Pipeline configuration (json) file deployed to the workspace and used by the job to read and execute the pipeline.
TYPE:
|
name_prefix
|
Prefix added to the DLP name
TYPE:
|
name_suffix
|
Suffix added to the DLP name
TYPE:
|
type
|
Type of orchestrator
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
to_dab_resource |
Convert to a DABs Python Pipeline resource object for use with |
| ATTRIBUTE | DESCRIPTION |
|---|---|
additional_core_resources |
TYPE:
|
additional_core_resources
property
¤
- configuration workspace file
- configuration workspace file permissions
to_dab_resource()
¤
Convert to a DABs Python Pipeline resource object for use with
laktory.dab.build_resources.
| RETURNS | DESCRIPTION |
|---|---|
|
|
Source code in laktory/models/pipeline/orchestrators/lakeflowdeclarativepipelineorchestrator.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |