potiuk commented on issue #35542:
URL: https://github.com/apache/airflow/issues/35542#issuecomment-1806186017

   Just to repeat what was  there - this is not possible by definition.  JINJA 
templated fields are resolved after task started (which is after queue was used 
to start the task in the first place. so new feature for that would have to be 
implemented - for example specify which parameter of DAG RUN should be used as 
queue. But it should not be done with JINJA - also because scheduler should not 
 execute code. It would have to be a declarative way of mapping param to queue 
(without any pre-processing and imperative code)
   
   Maybe a good idea for PR.


-- 
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