VladaZakharova commented on code in PR #67113:
URL: https://github.com/apache/airflow/pull/67113#discussion_r3442663293


##########
providers/google/tests/unit/google/cloud/operators/test_bigquery.py:
##########
@@ -2397,6 +2397,16 @@ def test_encryption_configuration_deferrable_mode(self, 
mock_job, mock_hook):
 
 
 class TestBigQueryCheckOperator:
+    def test_implicit_legacy_sql_default_warns(self):
+        with pytest.warns(
+            AirflowProviderDeprecationWarning,
+            match="The default value of `use_legacy_sql` is deprecated",
+        ):
+            BigQueryCheckOperator(
+                task_id="check_query",
+                sql="SELECT COUNT(*) FROM Any",
+            )

Review Comment:
   sure, done



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