potiuk commented on PR #58208:
URL: https://github.com/apache/airflow/pull/58208#issuecomment-3518639268

   > I am not sure if we really should add the burden for the DB to always sort 
because a test fails.
   Should we rather change the test? Or add a parameter for (conditional) 
sorting?
   
   I am of the opinion that every production api should return the results in 
deterministic order - even if it means addtional SORT on already indexed field. 
It's really dangerous to have API return results in non-deterministic order, 
because similarly as we did in our tests, users might start relying on the 
order they **usually** observe and get similar issues we had in tests.


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