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

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   The "Use Legacy SQL" checkbox is selected Automatically as the default value 
   
   >  connection_form_widgets["use_legacy_sql"] = 
BooleanField(lazy_gettext("Use Legacy SQL"), default=True)
   
   ### What you think should happen instead?
   
   The default value should be removed. 
   
   ### How to reproduce
   
   1. While creating a new BigQuery connection, uncheck the "Use Legacy SQL" 
option.
   
   Save the connection — the value is correctly stored as 'use_legacy_sql': 
False in the extra_dejson field.
   
   False
   
   Reopen the saved connection (without changing anything), and observe that 
"Use Legacy SQL" is selected again.
   
   Selected Again
   
   If you click Save at this point, the value is incorrectly persisted as 
'use_legacy_sql': True.
   
   True
   
   ### Operating System
   
   "Debian GNU/Linux 12 (bookworm)"
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-google==14.1.0
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   Local deployment
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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