hi team, do we support overwrite cache for a task ...
# flyte-support
m
hi team, do we support overwrite cache for a task in flyte now?
m
i want to overwrite specific task actually, like in task decorator to add it
the method you provide will overwrite the whole workflow right?
c
Yeah, looks like its only a feature configurable at execution time.
You could bump the cache version for the task
m
thanks for your response, for context: i'm an eng from linkedin and we are working on content-aware hashing, for given task/subworkflow with input as data_path and its job is to write data into data path, if data path has no content e.g. data got purged, then we want to overwrite cache for the given task/subworkflow, so we want to have overwrite_cache flag exposed in task decorator, so that when we detect content change for data_path, we can overwrite cache for the task to make it rerun. Happy to hop on a call to discuss this, our teammate also create a ticket for this https://github.com/flyteorg/flyte/issues/6050 cc @famous-xylophone-6243 @quiet-artist-13956
cc @high-accountant-32689
f
@millions-summer-85484 we have a meeting with your team. We have been cooking something new. That will make this easy
m
thanks!