Leondon9 opened a new issue, #67062:
URL: https://github.com/apache/airflow/issues/67062

   ### Description
   
   The  command currently does not preserve the Airflow connection  field from 
imported JSON. The generated  model exposes this field through the public  
alias, but the import path did not populate it and connection request 
serialization did not consistently emit aliases in the JSON body.
   
   ### Why this should be fixed
   
   Connections commonly use the schema/database field to select the target 
database or namespace. If a user exports or maintains connection definitions as 
JSON and imports them through , losing this field silently changes the 
resulting connection. That can send tasks to the wrong default database or 
require users to manually repair imported connections after automation runs.
   
   ### Real value
   
   Fixing this preserves user configuration during CLI-driven connection 
migration and automation. It makes  safer for repeatable environment setup, 
backup/restore workflows, and CI/CD workflows that seed Airflow connections 
from JSON.
   
   ### Suggested scope
   
   Preserve the  field during connection import and make sure connection API 
request bodies use the public  field name rather than the generated internal  
attribute.


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