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/09/09 17:47:31 UTC

[GitHub] [airflow] patricker opened a new issue, #26279: GCSToBigQueryOperator `max_id_key` Feature Throws Error

patricker opened a new issue, #26279:
URL: https://github.com/apache/airflow/issues/26279

   ### Apache Airflow Provider(s)
   
   google
   
   ### Versions of Apache Airflow Providers
   
   8.3.0
   
   ### Apache Airflow version
   
   2.3.4
   
   ### Operating System
   
   OSX
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   When using the `max_id_key` feature of `GCSToBigQueryOperator` it fails with the error:
   
   ```
   Traceback (most recent call last):
     File "/usr/local/lib/python3.9/site-packages/airflow/providers/google/cloud/transfers/gcs_to_bigquery.py", line 312, in execute
       row = list(bq_hook.get_job(job_id).result())
     File "/usr/local/lib/python3.9/site-packages/airflow/providers/google/common/hooks/base_google.py", line 444, in inner_wrapper
       raise AirflowException(
   airflow.exceptions.AirflowException: You must use keyword arguments in this methods rather than positional
   ```
   
   ### What you think should happen instead
   
   The max id value for the key should be returned.
   
   ### How to reproduce
   
   Any use of this column fails, since the error is related to retrieving the job result.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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] potiuk closed issue #26279: GCSToBigQueryOperator `max_id_key` Feature Throws Error

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #26279: GCSToBigQueryOperator `max_id_key` Feature Throws Error
URL: https://github.com/apache/airflow/issues/26279


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