Add Lakeflow template#2959
Conversation
08a9131 to
5e6be26
Compare
lennartkats-db
left a comment
There was a problem hiding this comment.
Awesome! I added some quick initial comments
|
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. |
7f5ec1f to
2bcd816
Compare
| "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
|
@denik I've added the acceptance tests |
a853d0e to
2959c84
Compare
| # 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.
Changes
Add Lakeflow template based on the new Pipeline folder structure and leveraging the new
globandroot_pathproperties.Why
Tests