uranusjr commented on code in PR #37086:
URL: https://github.com/apache/airflow/pull/37086#discussion_r1470778761


##########
airflow/api_connexion/endpoints/xcom_endpoint.py:
##########
@@ -71,7 +71,7 @@ def get_xcom_entries(
         query = query.where(XCom.map_index == map_index)
     if xcom_key is not None:
         query = query.where(XCom.key == xcom_key)
-    query = query.order_by(DR.execution_date, XCom.task_id, XCom.dag_id, 
XCom.key)
+    query = query.order_by(DR.execution_date, XCom.task_id, XCom.map_index, 
XCom.dag_id, XCom.key)

Review Comment:
   By the way I’m not quite sure why we order this way. Normally I’d order by 
dag_id before task_id?



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to