Comments (3)
Hey there - I think we generally consider running jobs inside other jobs like this bad practice. What are you trying to achieve with this pattern exactly?
from dagster.
Hi @dpeng817, the job is triggered by an external event (a data load) and utilises the parameters passed to that job to dynamically determine the selection of assets required to materalize and the inner job to complete the materialization.
Is there a way to have a job materalize a dynamic subset of assets based on an input parameter within a single job?
Thanks!
from dagster.
I moved this logic from a job to a sensor which addresses the above issue. However, that eliminates the possibility to externally trigger the execution which was possible with the job (through GraphQL). I instead created a microservice which provides a long-polling endpoint for Dagster sensors to access a queue populated by the incoming event sources. This feels like a hacky solution.
What is considering the best practice for triggering asset materializations from external events such as a webhook call?
from dagster.
Related Issues (20)
- Single run backfill not working consistently correctly when backfilling partitioned assets with different start times HOT 1
- `EnvVar` Variables Do Not Evaluate in Nested Resources
- [asset backfills] Mark hanging backfills as "failed" if all runs have completed but partitions are hanging
- Dagster Does not Install - Broken Dependency HOT 2
- Broken freshness policy HOT 1
- Sensor loggers fail on logger.exception calls HOT 1
- Pydantic 2 Upgrade CauseS Slowness In Dagster
- FileNotFoundError: [Errno 2] No such file or directory: './dagster-exc/history/runs/3caa1ea2-3b29-4583-8465-0f540382248f.db-wal'
- Intermittent DagsterInvariantViolationError on widely-partitioned assets HOT 7
- Incorrect parsing of string-type sexagesimal values from launchpad HOT 3
- Tags don't get copied to launchpad when clicking "Open in Launchpad" HOT 1
- Terminating materialization doesn't kill a multi-threading job
- Dagster-Pandera Schema Validation as Asset Check
- Cannot reference same Dagster Asset Key in two DBT Sources HOT 2
- Dagster Databricks error
- dagster-dbt cannot proceed after dbt test passes successfully
- BigQuery IO Manager Optional Schema Check
- Support identity based authorisation to external services used by webserver / deamon
- Assets web page memory leak HOT 2
- Add keyboard shortcuts for common landing pages in dagster-webserver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagster.