-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[embedded-elt] Add Sling asset decorator #19057
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
892a71f
to
11cf816
Compare
b51d236
to
b9b9664
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exciting to see these patterns come to dagster-embedded-elt
!
Would be nice to check in some examples in experimental/
as we're iterating on the API design of this.
Seeing the examples (e.g. #14301) of how this accomplishes existing + new use cases with the integration will give me more confidence.
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/resources.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/asset_decorator.py
Outdated
Show resolved
Hide resolved
1b0cdb9
to
db9c7b2
Compare
db9c7b2
to
f5dbb8f
Compare
f5dbb8f
to
659dc16
Compare
403eb85
to
c024a7d
Compare
c024a7d
to
48a6f73
Compare
d6fa2f6
to
b2f558a
Compare
ca3a854
to
4ca2e84
Compare
4fe8137
to
e15d58b
Compare
3ca6683
to
9e82251
Compare
860f58c
to
bf0c4dd
Compare
…onfig paths; added CSV to SQLite replication test and configs.
- Yield sanitized stdout with timings from `replicate` method in SlingResource. - Capture raw logs in `_stdout` list for later streaming. - Include elapsed time metadata in `MaterializeResult` when yielding sync results. - Add Docker-related files for testing Postgres to DuckDB replication using Sling.
…s for disabled asset configs.
bf0c4dd
to
c5313b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that where this landed is a really elegant solution. This, along with the dagster-dbt
integration provide a great resource to reference for future integrations.
lgtm - really awesome work, Pedram.
## Summary & Motivation Adds a Sling Asset Decorator to dagster-embedded-elt, This new decorator uses Sling's `replication` config which allows specifying multiple source/targets within a single configuration file. ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/80phFRWNTJBzbgP9Xj13/faf74045-9235-43b8-b033-123aa17c99fb.png)
Summary & Motivation
This adds a Sling Asset Decorator to dagster-embedded-elt, while deprecating the
build_sling_asset
builder.This new decorator uses Sling's
replication
config which allows specifying multiple source/targets within a single configuration file.A follow-up PR will add docs and examples.