[CT-2749] [Spike] Investigate merging merge_from_artifact
and add_from_artifact
#7965
Labels
stale
Issues that have gone stale
Thinking more about this: Do we actually need separate methods for
merge_from_artifact
andadd_from_artifact
? Or could it simply be that:defer_relation
attributeThen, all tasks could call this same method. We don't need the divergent behavior between
clone
andrun
, and we set ourselves up more nicely for future work around contract inference, dev/prod diff, ...Pseudo code:
The complication I could foresee here: Traditional defer behavior requires the population of the adapter cache (for the "nonexisting" part). I had suggested doing things differently in
clone
'sbefore_run
setup so that we defer first, and then cache, so that we can also cache the "other" schemas (indicated bydefer_relation
). I'm not sure if that's actually necessary, or if it's extra complication that isn't really worth it.Originally posted by @jtcohen6 in #7881 (comment)
The text was updated successfully, but these errors were encountered: