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

   > So yeah, I guess we need to decide if this is something we should change 
in Airflow, or is the right fix here to be say "add an ORDER BY to your query 
to generate it in a stable order"
   
   > I'm leaning towards the later.
   
   Agree - sorting by "deifinition order" is generally way better than 
alphabetic sorting in DAGs. We have similar issue about sorting the 
template_fields - 
https://github.com/apache/airflow/issues/27026#issuecomment-1316958468 where I 
believe we should keep "natural order" not sorting nor parameterisation. 
Everywhere where DAG Author (or DAG Generating programmer if it is from a DB) 
this gives the user full control over the order it will appear in UI without 
adding any new options and parameters. If they want to sort those 
alphabetically - they can still do it at writing/generation time. Nothing 
blocks them from doing so. 
   
   


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