-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
support value
in MaterializeResult
#16887
Comments
I wonder if it makes sense to use the metadata system for this? At least in the case above, materialization metadata would work well, and would also have the advantage of being consumable via the UI. |
Depending on the approach taken for storing |
@yuhan exactly |
with #20091, could we now expose upstream metadata through AssetExecutionContext now? |
What's the use case?
With the introduction of
MaterializeResult
, we anticipate that the ability to store scalar values to access in downstream assets will be a request feature.Example use case:
Some things to consider:
value
or the entireMaterializeResult
?MaterializeResult
objects (for example, the DB io managers can only store tabular data), how should we handle that?MaterializeResults
are supposed to be a way out of I/O manager world, so needing to do thiswould go against the purpose of
MaterializeResult
in the first place.Ideas of implementation
MaterializeResult
intoOutput(None)
, convert toOutput(MaterializeResult(...))
and store the full object via IO managerMaterializeResult
and convert that toOutput(materialize_result.value)
. Store that via the IO manager2a. As Sandy mentioned below, use the metadata system for storing the scalar instead. I'm liking this idea at the moment as it sidsteps the IO managers entirely, which stays more inline with the purpose of
MaterializeResult
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: