alexInhert opened a new issue #15797:
URL: https://github.com/apache/airflow/issues/15797


   I played with some example dags of google provider and got the following 
warnings:
   ```
   
/opt/airflow/airflow/providers/google/cloud/example_dags/example_bigquery_operations.py:143
 DeprecationWarning: Passing table parameters via keywords arguments will be 
deprecated. Please use provide table definition using `table_resource` 
parameter.You can still use external `schema_object`.
     /opt/airflow/airflow/models/baseoperator.py:178 DeprecationWarning: This 
operator is deprecated. Please use `BigQueryInsertJobOperator`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_datacatalog.py:390
 DeprecationWarning: This function is deprecated. Please use 
`airflow.models.baseoperator.chain`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_datacatalog.py:420
 DeprecationWarning: This function is deprecated. Please use 
`airflow.models.baseoperator.chain`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_datacatalog.py:445
 DeprecationWarning: This function is deprecated. Please use 
`airflow.models.baseoperator.chain`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_dataflow.py:79 
DeprecationWarning: The `DataflowCreateJavaJobOperator` operator is deprecated, 
please use `providers.apache.beam.operators.beam.BeamRunJavaPipelineOperator` 
instead.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_dataflow.py:100
 DeprecationWarning: The `DataflowCreateJavaJobOperator` operator is 
deprecated, please use 
`providers.apache.beam.operators.beam.BeamRunJavaPipelineOperator` instead.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_dataflow.py:125
 DeprecationWarning: The `DataflowCreatePythonJobOperator` operator is 
deprecated, please use 
`providers.apache.beam.operators.beam.BeamRunPythonPipelineOperator` instead.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_dataflow.py:139
 DeprecationWarning: The `DataflowCreatePythonJobOperator` operator is 
deprecated, please use 
`providers.apache.beam.operators.beam.BeamRunPythonPipelineOperator` instead.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_dataflow.py:162
 DeprecationWarning: The `DataflowCreatePythonJobOperator` operator is 
deprecated, please use 
`providers.apache.beam.operators.beam.BeamRunPythonPipelineOperator` instead.
     /opt/airflow/airflow/models/baseoperator.py:178 DeprecationWarning: This 
operator is deprecated. Please use `BigQueryInsertJobOperator`.
     /opt/airflow/airflow/models/baseoperator.py:178 DeprecationWarning: 
`destination_bucket` is deprecated please use `bucket_name`
     /opt/airflow/airflow/models/baseoperator.py:178 DeprecationWarning: 
`destination_object` is deprecated please use `object_name`
     
/opt/airflow/airflow/providers/google/cloud/utils/mlengine_operator_utils.py:253
 DeprecationWarning: The `DataflowCreatePythonJobOperator` operator is 
deprecated, please use 
`providers.apache.beam.operators.beam.BeamRunPythonPipelineOperator` instead.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_presto_to_gcs.py:89
 DeprecationWarning: Passing table parameters via keywords arguments will be 
deprecated. Please use provide table definition using `table_resource` 
parameter.You can still use external `schema_object`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_presto_to_gcs.py:117
 DeprecationWarning: Passing table parameters via keywords arguments will be 
deprecated. Please use provide table definition using `table_resource` 
parameter.You can still use external `schema_object`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_trino_to_gcs.py:89
 DeprecationWarning: Passing table parameters via keywords arguments will be 
deprecated. Please use provide table definition using `table_resource` 
parameter.You can still use external `schema_object`.
     
/opt/airflow/airflow/providers/google/cloud/example_dags/example_trino_to_gcs.py:117
 DeprecationWarning: Passing table parameters via keywords arguments will be 
deprecated. Please use provide table definition using `table_resource` 
parameter.You can still use external `schema_object`.
    
/opt/airflow/airflow/providers/google/firebase/example_dags/example_firestore.py:107
 DeprecationWarning: Passing table parameters via keywords arguments will be 
deprecated. Please use provide table definition using `table_resource` 
parameter.You can still use external `schema_object`.
     /opt/airflow/airflow/models/baseoperator.py:178 DeprecationWarning: This 
operator is deprecated. Please use `BigQueryInsertJobOperator`.
   ```
   
   just reporting in case you are not aware of it.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to