#5180 [BUG] map_task downloads all pickled outputs from previous map_task
Issue created by
tomtou-bspace
### Describe the bug
Consequent map_tasks download all outputs of entire previous map task, instead of specific outputs of a previous sub-task.
This leads to a the subsequent map task running for an hour instead of 5 minutes.
### Expected behavior
if map_task B's inputs are map_task A's outputs, then:
the i'th sub_task of map task B, should download the outputs of the i'th sub_task of map task A
### Additional context to reproduce
When running map_task A, where each sub_task returns a type Dict[str,Dict[str,np.ndarray]]
then map_task B receives the output of A, where each sub task of B downloads a list of Dict[str,Dict[str,np.ndarray]] instead of a single object.
### Screenshots
map_task of task "save_as_parquet_to_s3" takes more than an hour, instead of 5 minutes
[image](https://private-user-images.githubusercontent.com/109530274/319595069-8885122f-36f8-4079-b893-f82392a976ff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDgyMTg1MDksIm5iZiI6MTc0ODIxODIwOSwicGF0aCI6Ii8xMDk1MzAyNzQvMzE5NTk1MDY5LTg4ODUxMjJmLTM2ZjgtNDA3OS1iODkzLWY4MjM5MmE5NzZmZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNTI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDUyNlQwMDEwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZDlhOWFkODE2NjJmNTNkNTNiN2ZmYjczY2M4YmYwYTdlZmI5NThlN2U5ZmE1OWUxOTBkNzliOGMxYjA1ZDJmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2tZ3-AvnIOh7-mBfo0MRUCxr1dYH3U_4ogGyLDRDR-o)
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte