turbaszek commented on issue #11858:
URL: https://github.com/apache/airflow/issues/11858#issuecomment-721010202


   To be honest I'm not sure why we order by `timestamp` - do we expect users 
to push same key (key, exec date, task_id, dag_id) few times in operator?
   
   Imho the natural way to sort it would be to sort it by `key` column - the 
`execution_date` is already same for all entries if we do `xcom_pull`:
   
https://github.com/apache/airflow/blob/45ae145c25a19b4185c33ac0c4da920324b3987e/airflow/models/taskinstance.py#L1830-L1837
   


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

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


Reply via email to