potiuk commented on code in PR #59866:
URL: https://github.com/apache/airflow/pull/59866#discussion_r2649663276
##########
providers/google/src/airflow/providers/google/cloud/operators/bigquery.py:
##########
@@ -1091,14 +1091,14 @@ def generate_query(self, hook: BigQueryHook) -> str:
def execute(self, context: Context):
if self.project_id:
- self.log.warning(
+ warnings.warn(
"The project_id parameter is deprecated, and will be removed
in a future release."
- " Please use table_project_id instead.",
+ " Please use table_project_id
instead.",AirflowDeprecationWarning
Review Comment:
Google Provider has it's own deprecation mechanism with depraction date -
see
https://github.com/apache/airflow/blob/main/providers/google/docs/deprecation-policy.rst
- cc: @VladaZakharova
--
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]