[DRAFT] New template for dlt init command with modified databricks.yml#1
Open
alyssa-db wants to merge 2 commits intoinstall-dlt-featfrom
Open
[DRAFT] New template for dlt init command with modified databricks.yml#1alyssa-db wants to merge 2 commits intoinstall-dlt-featfrom
alyssa-db wants to merge 2 commits intoinstall-dlt-featfrom
Conversation
git-stack-id: gs-=pTpWOpTg git-stack-title: New DLT CLI init command
85b72a4 to
6429b3a
Compare
515956f to
1da3ff0
Compare
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.
Changes
I created a new template, in the new folder
libs/template/templates/dlt/, heavily modeled off oflibs/template/templates/lakeflow-pipelines/, yet with differentdatabricks_template_schema.jsonanddatabricks.ymlfiles. The template is created when runningdlt init, where you can also specify an optional flag for the name of the sample project.Following, you specify the workspace host (e.g. host.databricks.com), catalog (default can be main), schema (if not specified, in dev defaults to your user name like alyssa_gorbaneva or in prod defaults to
default), and finally if you want your sample to be in Python or SQL.Why
The goal is to make it simple to generate a sample pipeline from the CLI with running
dlt init.Tests
No tests yet, acceptance tests pending.