This is an automated email from the ASF dual-hosted git repository.

kalyanr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c932dab6a22 Fix: BigQuery connection UI defaults 'Use Legacy SQL' to 
true on edit (#49038)
c932dab6a22 is described below

commit c932dab6a2232650e5e01e41be34c4b1de5e5583
Author: kandharvishnu <[email protected]>
AuthorDate: Fri Apr 11 12:33:19 2025 +0530

    Fix: BigQuery connection UI defaults 'Use Legacy SQL' to true on edit 
(#49038)
    
    * removing lazy_gettext default value
    
    * adding comma to trigger ci/cd
    
    * removing comma
    
    ---------
    
    Co-authored-by: Kalyan R <[email protected]>
---
 providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py 
b/providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py
index af41a07f1db..46b7732b283 100644
--- a/providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py
+++ b/providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py
@@ -123,7 +123,7 @@ class BigQueryHook(GoogleBaseHook, DbApiHook):
         from airflow.providers.google.cloud.utils.validators import ValidJson
 
         connection_form_widgets = super().get_connection_form_widgets()
-        connection_form_widgets["use_legacy_sql"] = 
BooleanField(lazy_gettext("Use Legacy SQL"), default=True)
+        connection_form_widgets["use_legacy_sql"] = 
BooleanField(lazy_gettext("Use Legacy SQL"))
         connection_form_widgets["location"] = StringField(
             lazy_gettext("Location"), widget=BS3TextFieldWidget()
         )

Reply via email to