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

[embedded-elt] Add Sling asset decorator #19057

Merged
merged 15 commits into from
Feb 23, 2024
Merged

Conversation

PedramNavid
Copy link
Contributor

@PedramNavid PedramNavid commented Jan 7, 2024

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.

  • Build out the SlingTranslator
  • Add some improvements to SlingResources to make them easier to configure.
  • Deprecate existing APIs
  • Docs and Examples

image.png

@PedramNavid
Copy link
Contributor Author

PedramNavid commented Jan 7, 2024

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@PedramNavid PedramNavid force-pushed the pdrm/sling-decorator branch 3 times, most recently from b51d236 to b9b9664 Compare January 16, 2024 05:12
Copy link
Member

@rexledesma rexledesma left a 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.

@PedramNavid PedramNavid assigned tacastillo and unassigned tacastillo Jan 19, 2024
@PedramNavid PedramNavid changed the title [embedded-elt] Add asset decorator [embedded-elt] Add Sling asset decorator Jan 19, 2024
@PedramNavid PedramNavid force-pushed the pdrm/sling-decorator branch 3 times, most recently from 403eb85 to c024a7d Compare February 15, 2024 17:45
@PedramNavid PedramNavid force-pushed the pdrm/sling-decorator branch 3 times, most recently from d6fa2f6 to b2f558a Compare February 17, 2024 06:58
@PedramNavid PedramNavid force-pushed the pdrm/sling-decorator branch 2 times, most recently from ca3a854 to 4ca2e84 Compare February 18, 2024 05:22
Copy link
Contributor

@cmpadden cmpadden left a 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.

@PedramNavid PedramNavid merged commit d166fb5 into master Feb 23, 2024
1 check passed
@PedramNavid PedramNavid deleted the pdrm/sling-decorator branch February 23, 2024 20:58
PedramNavid added a commit that referenced this pull request Mar 28, 2024
## 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)
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.

None yet

5 participants