Comments (1)
So I think this will be an excellent issue for you to work through some of the abstractions.
Currently this function creates a dependency between two dataframe-flavored solids:
def create_dagster_pd_dependency_input(solid):
check.inst_param(solid, 'solid', Solid)
def dependency_input_fn(context, arg_dict):
check.inst_param(context, 'context', DagsterExecutionContext)
path = check.str_elem(arg_dict, 'path')
frmt = check.str_elem(arg_dict, 'format')
df = _read_df(path, frmt)
context.metric('rows', df.shape[0])
return df
return create_single_source_input(
name=solid.name,
source_fn=dependency_input_fn,
argument_def_dict={
'path': types.PATH,
'format': types.STRING,
},
depends_on=solid,
source_type='CSVORPARQUET',
)
This should instead construct two separate sources for the input. One CSV, one Parquet. (Also adding JSON would make sense etc).
from dagster.
Related Issues (20)
- Auto-materialize not working correctly for cross-code-location asset dependencies and causing large performance issues HOT 3
- Possible memory leak on very long running `dagster-webserver`/Daemon containers HOT 4
- [ui] Resource config scaffolding in launchpad does not reflect asset selection HOT 1
- Upgrade K8sRunLauncher k8s definitions to allow 1.29 fiels HOT 6
- Soda integration for asset checks
- Runs that are both a success and failure in Dagster University lesson 8
- [dagster-k8s] Pods launched via Dagster Pipes report failure if pod is alive longer than 4 hours HOT 2
- "/" in partition key causes unexpected issues
- Asset check names are extremely long for dbt accepted_values tests
- Pydantic V2 warning about config keys HOT 3
- "owners" parameter for graph_asset
- Make file_relative_path function work with Windows using pathlib
- gRPC user code server unavailable on Dagster Cloud Serverless HOT 2
- Unexpected exception: Docker image name is not correctly formatted HOT 3
- Dagster asset names and prefixes are aggressively shortened in Firefox
- Dagster Postgres shows increased load HOT 6
- [dagster-embedded-elt] Sling - Incremental Sync Incomplete when using Sling Assets HOT 2
- Allow adding tags during `load_assets_from_modules`
- Helm chart doesn't pass run_k8s_config to CeleryK8sRunLauncher HOT 1
- Dagster Dask - Not running same job concurrently
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.