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
Failed to run any task with FlyteFIle input/outputs when cache is enabled because type validation is failing.
{"json":{"exec_id":"x","node":"n0","ns":"x","res_ver":"73517980","routine":"worker-1",
"wf":"x.training_workflow_cache"},"level":"error",
"msg":"DataCatalog failed to get outputs from artifact adbf03db-daea-4108-9f8f-c352ac395a6b,
err: unexpected artifactData: [processed_data] type: [blob:{}] does not match any
task output type: [blob:{format:\"csv\"}]","ts":"2024-06-26T00:05:39Z"}
The issue you described appears to be related to type validation when caching is enabled for tasks dealing with blob types. The error message indicates a mismatch between the expected and actual blob formats when retrieving cached artifacts from the DataCatalog.
This problem is similar to issue #2864, where type validation fails due to discrepancies in expected and actual blob formats. The error occurs because the cached artifact's format does not match the expected format specified in the task's output type.
Would you like more details on possible workarounds or solutions for this issue?
Describe the bug
Failed to run any task with FlyteFIle input/outputs when cache is enabled because type validation is failing.
Note that this bug has a similar flavor to: #2864
When the cache is enabled, the task retrieves artifacts from datacatalog and checks if the blob format match the expected type.
However, this check fails.
Proposed fix: Add a Blob typechecker that allows empty format blobs to match generic blobs – #5519
Expected behavior
Blob task should run successfully even if the cache is enabled
Additional context to reproduce
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: