Kamran-imaz commented on code in PR #59866:
URL: https://github.com/apache/airflow/pull/59866#discussion_r2649729155


##########
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:
   Thanks for pointing out I have read the document and modified it accordingly
   



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