Uh oh!
There was an error while loading. Please reload this page.
Add Lakeflow template - #2959
Conversation
Uh oh!
There was an error while loading. Please reload this page.
lennartkats-db
left a comment
There was a problem hiding this comment.
Awesome! I added some quick initial comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
denik
commented
May 30, 2025
Can you add acceptance test here? https://github.com/databricks/cli/tree/main/acceptance/bundle/templates For some templates we only do init + validate in local mode, for other templates (default-python) we do init+validate+deploy against local fake server and against cloud env. We also include materialized template there so you can see what you get. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| "editor.defaultFormatter": "ms-python.black-formatter", | ||
| "editor.formatOnSave": true, | ||
| }, | ||
| } |
There was a problem hiding this comment.
Should we add "python.analysis.typeCheckingMode": "basic" here? Or, probably better, revisit that question later?
There was a problem hiding this comment.
I'd prefer to defer that decision
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fjakobs
commented
May 30, 2025
@denik I've added the acceptance tests |
Uh oh!
There was an error while loading. Please reload this page.
| # Preamble | ||
| This file only template directives; it is skipped for the actual output. | ||
| This file only contains template directives; it is skipped for the actual output. |
There was a problem hiding this comment.
Can you file a separate PR for this?
| {{$isSQL := eq .language "sql"}} | ||
| {{if $isSQL}} | ||
| {{skip "{{.project_name}}/resources/{{.project_name}}_pipeline/utilities/utils.py"}} |
There was a problem hiding this comment.
The default pipeline name is clunky. Can this be static instead?
There was a problem hiding this comment.
We had a discussion about this last Friday. I'll send you the pointer.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
## Changes Add Lakeflow template based on the new Pipeline folder structure and leveraging the new `glob` and `root_path` properties. ## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> ## Tests <!-- How have you tested the changes? --> <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
Changes
Add Lakeflow template based on the new Pipeline folder structure and leveraging the new
globandroot_pathproperties.Why
Tests