eladkal commented on code in PR #33930:
URL: https://github.com/apache/airflow/pull/33930#discussion_r1310725891
##########
airflow/providers/google/cloud/operators/bigquery.py:
##########
@@ -1198,6 +1198,14 @@ def __init__(
impersonation_chain: str | Sequence[str] | None = None,
**kwargs,
) -> None:
+ if bigquery_conn_id:
+ warnings.warn(
+ "The bigquery_conn_id parameter has been deprecated. Use the
gcp_conn_id parameter instead.",
+ AirflowProviderDeprecationWarning,
+ stacklevel=2,
+ )
+ gcp_conn_id = bigquery_conn_id
+
Review Comment:
cc @VladaZakharova please take consider this. We did the same for Amazon
provider and i think it really helped users to avoid using deprecated code. The
google provider has a lot of deprecations.
--
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]