future-monitor-58430
02/17/2023, 7:12 PMcache was disabled for this task
for a simple python task, when I have the cache enabled:
@task(cache=True, cache_version="1.0")
def simple_python_task(name: str):
print(f"Hello {name}")
future-monitor-58430
02/17/2023, 7:13 PM{
"json": {},
"level": "warning",
"msg": "Dataset does not exist key: {Project:flytetester Name:flyte_task-simple_python_task Domain:development Version:1.0-Y1uUT6Xg-GKw-c0Pw UUID:}, err missing entity of type Dataset with identifier project:\"flytetester\" name:\"flyte_task-.simple_python_task\" domain:\"development\" version:\"1.0-Y1uUT6Xg-GKw-c0Pw\" ",
"ts": "2023-02-17T19:01:01Z"
}
future-monitor-58430
02/17/2023, 7:31 PMfuture-monitor-58430
02/17/2023, 7:48 PMhallowed-mouse-14616
02/17/2023, 7:52 PMLooks like a task must have an output to be cached?That is correct.
future-monitor-58430
02/17/2023, 7:52 PMfuture-monitor-58430
02/17/2023, 7:53 PMhallowed-mouse-14616
02/17/2023, 7:54 PMcache_version
currently. There has been different discussions on using a hash of the function contents to define caching so we could automatically determine changes in the function. But frequently enough, users want to fix a minor bug in the function without invalidating previously cached data.future-monitor-58430
02/17/2023, 7:55 PMfuture-monitor-58430
02/17/2023, 7:55 PMhallowed-mouse-14616
02/17/2023, 7:57 PMfuture-monitor-58430
02/17/2023, 7:57 PMfuture-monitor-58430
02/17/2023, 7:57 PMhallowed-mouse-14616
02/17/2023, 7:59 PMhallowed-mouse-14616
02/17/2023, 8:00 PMfuture-monitor-58430
02/17/2023, 8:01 PMhallowed-mouse-14616
02/17/2023, 8:03 PMfuture-monitor-58430
02/17/2023, 8:05 PMhallowed-mouse-14616
02/17/2023, 8:10 PMthankful-minister-83577
future-monitor-58430
02/17/2023, 8:13 PMthankful-minister-83577
thankful-minister-83577