Skip to content

Commit 54932e4

Browse files
Rename Delta Live Tables to Lakeflow Declarative Pipelines in the default-python template (#3476)
## Tests Covered by exiting tests. Also manually verified that the new template is initialized and deployed correctly.
1 parent 30c24ff commit 54932e4

File tree

21 files changed

+31
-30
lines changed

21 files changed

+31
-30
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ See more details here: ([#3225](https://github.com/databricks/cli/pull/3225))
1616

1717
### Bundles
1818
* [Breaking Change] Remove deprecated path fallback mechanism for jobs and pipelines ([#3225](https://github.com/databricks/cli/pull/3225))
19+
* Rename Delta Live Tables to Lakeflow Declarative Pipelines in the default-python template ([#3476](https://github.com/databricks/cli/pull/3476)).
1920

2021
### API Changes

acceptance/bundle/deploy/pipeline/recreate/databricks.yml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ workspace:
66

77
variables:
88
catalog:
9-
description: The catalog the DLT pipeline should use.
9+
description: The catalog the Lakeflow Declarative Pipeline should use.
1010
default: main
1111

1212
resources:

acceptance/bundle/help/bundle-init/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Initialize using a bundle template to get started quickly.
44

55
TEMPLATE_PATH optionally specifies which template to use. It can be one of the following:
6-
- default-python: The default Python template for Notebooks / Delta Live Tables / Workflows
6+
- default-python: The default Python template for Notebooks / Lakeflow Declarative Pipelines / Workflows
77
- default-sql: The default SQL template for .sql files that run with Databricks SQL
88
- dbt-sql: The dbt SQL template (databricks.com/blog/delivering-cost-effective-data-real-time-dbt-and-databricks)
99
- mlops-stacks: The Databricks MLOps Stacks template (github.com/databricks/mlops-stacks)

acceptance/bundle/templates/default-python/classic/output/my_default_python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires-python = ">= 3.11"
88
dev = [
99
"pytest",
1010

11-
# Code completion support for DLT, also install databricks-connect
11+
# Code completion support for Lakeflow Declarative Pipelines, also install databricks-connect
1212
"databricks-dlt",
1313

1414
# databricks-connect can be used to run parts of this project locally.

acceptance/bundle/templates/default-python/classic/output/my_default_python/resources/my_default_python.pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resources:
88
schema: my_default_python_${bundle.target}
99
libraries:
1010
- notebook:
11-
path: ../src/dlt_pipeline.ipynb
11+
path: ../src/pipeline.ipynb
1212

1313
configuration:
1414
bundle.sourcePath: ${workspace.file_path}/src

acceptance/bundle/templates/default-python/classic/output/my_default_python/src/dlt_pipeline.ipynb renamed to acceptance/bundle/templates/default-python/classic/output/my_default_python/src/pipeline.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
}
1313
},
1414
"source": [
15-
"# DLT pipeline\n",
15+
"# Lakeflow Declarative Pipeline\n",
1616
"\n",
17-
"This Delta Live Tables (DLT) definition is executed using a pipeline defined in resources/my_default_python.pipeline.yml."
17+
"This Lakeflow Declarative Pipeline (LDP) definition is executed using a pipeline defined in resources/my_default_python.pipeline.yml."
1818
]
1919
},
2020
{
@@ -72,7 +72,7 @@
7272
"notebookMetadata": {
7373
"pythonIndentUnit": 2
7474
},
75-
"notebookName": "dlt_pipeline",
75+
"notebookName": "pipeline",
7676
"widgets": {}
7777
},
7878
"kernelspec": {

acceptance/bundle/templates/default-python/integration_classic/out.validate.dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"libraries": [
138138
{
139139
"notebook": {
140-
"path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev/files/src/dlt_pipeline"
140+
"path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev/files/src/pipeline"
141141
}
142142
}
143143
],

acceptance/bundle/templates/default-python/integration_classic/output.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ Validation OK!
211211
"libraries": [
212212
{
213213
"notebook": {
214-
- "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev/files/src/dlt_pipeline"
215-
+ "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/prod/files/src/dlt_pipeline"
214+
- "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev/files/src/pipeline"
215+
+ "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/prod/files/src/pipeline"
216216
}
217217
}
218218
],
@@ -373,8 +373,8 @@ Resources:
373373
@@ -141,14 +127,11 @@
374374
{
375375
"notebook": {
376-
- "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev/files/src/dlt_pipeline"
377-
+ "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/prod/files/src/dlt_pipeline"
376+
- "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev/files/src/pipeline"
377+
+ "path": "/Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/prod/files/src/pipeline"
378378
}
379379
}
380380
],

acceptance/bundle/templates/default-python/serverless/output/my_default_python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires-python = ">= 3.11"
88
dev = [
99
"pytest",
1010

11-
# Code completion support for DLT, also install databricks-connect
11+
# Code completion support for Lakeflow Declarative Pipelines, also install databricks-connect
1212
"databricks-dlt",
1313

1414
# databricks-connect can be used to run parts of this project locally.

acceptance/bundle/templates/default-python/serverless/output/my_default_python/resources/my_default_python.pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resources:
99
serverless: true
1010
libraries:
1111
- notebook:
12-
path: ../src/dlt_pipeline.ipynb
12+
path: ../src/pipeline.ipynb
1313

1414
configuration:
1515
bundle.sourcePath: ${workspace.file_path}/src

0 commit comments

Comments
 (0)