Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data engineering template #45

Merged
merged 20 commits into from
Dec 2, 2024
Merged

Data engineering template #45

merged 20 commits into from
Dec 2, 2024

Conversation

lennartkats-db
Copy link
Contributor

@lennartkats-db lennartkats-db commented Nov 18, 2024

Summary

This adds a data engineering template.

How to try this

You can give the template a try using

databricks bundle init https://github.com/databricks/bundle-examples --template-dir contrib/templates/data-engineering

Note that each pipeline has a separate template. New pipelines can be added by using the short-hand uv run add-asset or by manually instantiating the pipeline template with

databricks bundle init https://github.com/databricks/bundle-examples --template-dir contrib/templates/data-engineering/assets/etl-pipeline

@lennartkats-db lennartkats-db marked this pull request as ready for review November 22, 2024 09:24
.vscode/settings.json Outdated Show resolved Hide resolved
# conftest.py is used to configure pytest.
# This file is in the root since it affects all tests through this bundle.
# It makes sure all 'assets/*' directories are added to `sys.path` so that
# tests can import them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if you have 2 entries in this directory, both with a transformations directory?

I think this is contrary to what one would expect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 will look into an alternative approach

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the latest incarnation, the pipeline name is included in the package path. We'll need to discuss this a bit further in the LakeFlow group and solicit feedback.

Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unblocking merge.

.vscode/settings.json Outdated Show resolved Hide resolved
@lennartkats-db lennartkats-db merged commit f86b32c into main Dec 2, 2024
@lennartkats-db lennartkats-db deleted the data-engineering branch December 2, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants