You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say we have two tasks, extract and load where extract returns a list of json objects say, [{"foo":"dan","bar":"shc"},{"foo":"alf","bar":"shc"}], and load expands on the output of extract
This works, but it's not ideal. The solution is sort of clunky and the internals are obscured-- I have to make the signature of the load task callable load_fn(input), one argument and unpack the values in the function. I'm proposing this functionality:
Hi @dpro-shc, Your proposal does make the extract and expand feature cleaner from a user perspective. Thanks for taking the time to propose it!
Would you like to contribute this feature to DAG Factory?
Let's say we have two tasks, extract and load where extract returns a list of json objects say,
[{"foo":"dan","bar":"shc"},{"foo":"alf","bar":"shc"}]
, and load expands on the output of extractThis works, but it's not ideal. The solution is sort of clunky and the internals are obscured-- I have to make the signature of the load task callable
load_fn(input)
, one argument and unpack the values in the function. I'm proposing this functionality:so that I can leave the signature of the load callable
load_fn(foo,bar)
.The text was updated successfully, but these errors were encountered: