You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "kandharvishnu (via GitHub)" <gi...@apache.org> on 2025/04/10 08:57:33 UTC
[I] BigQuery connection UI defaults 'Use Legacy SQL' to true on edit [airflow]
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Bug: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #49041: Bug: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit
URL: https://github.com/apache/airflow/issues/49041
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Bug: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #49041:
URL: https://github.com/apache/airflow/issues/49041#issuecomment-3094357750
Thanks! @Mayuresh16 . Linked the PR and closed.
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Bug: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit [airflow]
Posted by "Mayuresh16 (via GitHub)" <gi...@apache.org>.
Mayuresh16 commented on issue #49041:
URL: https://github.com/apache/airflow/issues/49041#issuecomment-3092561261
@potiuk @rawwar @kandharvishnu
I think we should close this issue, as the fix is already merged.
Linked PR: #49038
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BigQuery connection UI defaults 'Use Legacy SQL' to true on edit [airflow]
Posted by "kandharvishnu (via GitHub)" <gi...@apache.org>.
kandharvishnu commented on issue #49041:
URL: https://github.com/apache/airflow/issues/49041#issuecomment-2792050893
https://github.com/apache/airflow/pull/49038
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org