You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "VladaZakharova (via GitHub)" <gi...@apache.org> on 2026/06/19 13:06:43 UTC
Re: [PR] Deprecate implicit legacy SQL default in BigQuery operators [airflow]
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org