pnsvk opened a new issue, #49212:
URL: https://github.com/apache/airflow/issues/49212

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Can someone please let me know how to make named-map task work, while the 
mapped-task is running ? - the names get reflected only after the task ends up 
in one of the completed states (skipped, failed, success)
   FYI, below is an excerpt:
   
   `@task(map_index_template="{{ table_map[0] }}")
   def task_fund_lifecycle(running_result: Dict, table_map: tuple):
       # blah blah
   
   fund_result = task_fund_lifecycle.partial(
       running_result=running_result,
   ).expand(
       table_map=table_map_list                # `table_map_list` is of kind: 
("FUND_RAISE", ["TABLE_A", "TABLE_B"])
   )`
    
   
![Image](https://github.com/user-attachments/assets/a99b7999-d5fc-4546-ac31-dad03f2e1b43)
   
![Image](https://github.com/user-attachments/assets/7655525c-9f8e-4521-b6b6-1bdb1a4ed64f)
   
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   `@task(map_index_template="{{ table_map[0] }}")
   def task_fund_lifecycle(running_result: Dict, table_map: tuple):
       # blah blah
   
   fund_result = task_fund_lifecycle.partial(
       running_result=running_result,
   ).expand(
       table_map=table_map_list                # `table_map_list` is of kind: 
("FUND_RAISE", ["TABLE_A", "TABLE_B"])
   )`
   
   ### Operating System
   
   Lin, Mac, Win
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to