Update the lakeflow-pipelines template according to the latest Lakeflow conventions#3558
Merged
lennartkats-db merged 10 commits intomainfrom Sep 23, 2025
Merged
Update the lakeflow-pipelines template according to the latest Lakeflow conventions#3558lennartkats-db merged 10 commits intomainfrom
lennartkats-db merged 10 commits intomainfrom
Conversation
…he lakeflow-pipelines template
lennartkats-db
commented
Sep 8, 2025
libs/template/templates/lakeflow-pipelines/databricks_template_schema.json
Show resolved
Hide resolved
...s/lakeflow-pipelines/template/{{.project_name}}/resources/sample_job/sample_job.job.yml.tmpl
Show resolved
Hide resolved
libs/template/templates/lakeflow-pipelines/template/{{.project_name}}/tests/conftest.py
Show resolved
Hide resolved
libs/template/templates/lakeflow-pipelines/template/{{.project_name}}/tests/conftest.py
Show resolved
Hide resolved
Collaborator
10 failing tests:
|
fjakobs
reviewed
Sep 8, 2025
...undle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/.vscode/settings.json
Outdated
Show resolved
Hide resolved
...t/my_lakeflow_pipelines/resources/lakeflow_pipelines_etl/lakeflow_pipelines_etl.pipeline.yml
Outdated
Show resolved
Hide resolved
...output/my_lakeflow_pipelines/resources/lakeflow_pipelines_etl/lakeflow_pipelines_job.job.yml
Show resolved
Hide resolved
...lines/resources/lakeflow_pipelines_etl/transformations/sample_trips_my_lakeflow_pipelines.py
Outdated
Show resolved
Hide resolved
libs/template/templates/lakeflow-pipelines/databricks_template_schema.json
Show resolved
Hide resolved
libs/template/templates/lakeflow-pipelines/databricks_template_schema.vnext.json
Show resolved
Hide resolved
pietern
reviewed
Sep 8, 2025
Contributor
pietern
left a comment
There was a problem hiding this comment.
I can't test this end-to-end yet because of the missing pyproject.toml.
libs/template/templates/lakeflow-pipelines/databricks_template_schema.vnext.json
Show resolved
Hide resolved
libs/template/templates/lakeflow-pipelines/databricks_template_schema.json
Show resolved
Hide resolved
...undle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/.vscode/settings.json
Show resolved
Hide resolved
...ines/python/output/my_lakeflow_pipelines/resources/lakeflow_pipelines_etl/utilities/utils.py
Outdated
Show resolved
Hide resolved
Though this is unfortunately inconsistent with the one from Black
andersrexdb
reviewed
Sep 19, 2025
...t/my_lakeflow_pipelines/resources/lakeflow_pipelines_etl/lakeflow_pipelines_etl.pipeline.yml
Show resolved
Hide resolved
fjakobs
approved these changes
Sep 22, 2025
Contributor
fjakobs
left a comment
There was a problem hiding this comment.
I'm OK with the proposed changes but let's make sure to address @andersrexdb 's comment.
lennartkats-db
commented
Sep 22, 2025
libs/template/templates/lakeflow-pipelines/databricks_template_schema.vnext.json
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new version of the
default-pythontemplate. To enable the first integration and evaluation of this template, this first pull request replaces the internallakeflow-pipelinestemplate. Replacingdefault-pythonwill be the next milestone.Changes
default-pythonto follow the Lakeflow conventions (per-pipeline sources go intoresources/; shared sources go into (lib/)lakeflow-pipelinestemplate (this required disabling some of the template questions and components)Why
Lakeflow comes with new conventions that emphasize modularity. This PR represents an initial milestone towards updating the DABs
default-pythontemplate.default-sqlwill follow in a later milestone.Tests
Existing tests were updated.