You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/16 14:51:58 UTC

[GitHub] [airflow] fhoppe-stroeer opened a new issue, #23049: BigQueryTableExistenceSensor DeprecationWarning for bigquery_conn_id

fhoppe-stroeer opened a new issue, #23049:
URL: https://github.com/apache/airflow/issues/23049

   ### Apache Airflow Provider(s)
   
   google
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-google~=6.8.0
   
   
   ### Apache Airflow version
   
   2.2.4
   
   ### Operating System
   
   Ubuntu
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   BigQueryTableExistenceSensor giving DeprecationWarning for bigquery_conn_id parameter even if this paramter is not used at all.
   Furthermore the gcp_conn_id is not working.
   
   ### What you think should happen instead
   
   Use parameter gcp_conn_id as default and not the bigquery_conn_id parameter.
   
   ### How to reproduce
   
   check_table_exists = BigQueryTableExistenceSensor(
       task_id="check_table_exists", 
       project_id=project_id, 
       dataset_id=dataset_id, 
       table_id=table_id, 
       dag=dag
   )
   
   result: "DeprecationWarning: The bigquery_conn_id parameter has been deprecated. You should pass the gcp_conn_id parameter."
   
   
   check_table_exists = BigQueryTableExistenceSensor(
       task_id="check_table_exists", 
       project_id=PROJECT_ID, 
       dataset_id=DATASET_NAME, 
       table_id=TABLE_NAME, 
       gcp_conn_id="google_cloud_default",
       dag=dag
   )
   
   result: airflow.exceptions.AirflowException: Invalid arguments were passed to BigQueryTableExistenceSensor (task_id: check_table_exists). Invalid arguments were: **kwargs: {'gcp_conn_id': 'google_cloud_default'}
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #23049: BigQueryTableExistenceSensor DeprecationWarning for bigquery_conn_id

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #23049:
URL: https://github.com/apache/airflow/issues/23049#issuecomment-1100681008

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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


[GitHub] [airflow] tirkarthi commented on issue #23049: BigQueryTableExistenceSensor DeprecationWarning for bigquery_conn_id

Posted by GitBox <gi...@apache.org>.
tirkarthi commented on issue #23049:
URL: https://github.com/apache/airflow/issues/23049#issuecomment-1106241072

   Probably fixed in https://github.com/apache/airflow/pull/21430


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


[GitHub] [airflow] potiuk commented on issue #23049: BigQueryTableExistenceSensor DeprecationWarning for bigquery_conn_id

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #23049:
URL: https://github.com/apache/airflow/issues/23049#issuecomment-1109016361

   Closing then. We can reaopen if we find it's not fixed.


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


[GitHub] [airflow] potiuk closed issue #23049: BigQueryTableExistenceSensor DeprecationWarning for bigquery_conn_id

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #23049: BigQueryTableExistenceSensor DeprecationWarning for bigquery_conn_id
URL: https://github.com/apache/airflow/issues/23049


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