Comments (7)
Although I'm confused why this would affect @task decorated functions?
You are using BQHook, so it does not matter if task is decorated
Could this be something to do with updates to some of the google-api libraries between Airflow 2.8.4 and 2.9.1?
Can you downgrade the libraries and check if it fixes the issue?
@VladaZakharova - you might want to take a look at this one
from airflow.
Look like this is related to google-cloud-bigquery
downgrading it to google-cloud-bigquery<3.21.0 fix for me
from airflow.
It is because the way we pass nowait
param to insert_job
method. When you are using @task then nowait
is False but when you are using operator it is True
error coming from
airflow/airflow/providers/google/cloud/hooks/bigquery.py
Lines 1674 to 1676 in 79042cf
I have drafted a PR to pin the lib version until we fix it #39583
from airflow.
I see. Thanks for the info.
from airflow.
Could this be something to do with updates to some of the google-api
libraries between Airflow 2.8.4 and 2.9.1?
2.8.4
google-api-core==2.17.1
google-api-python-client==2.122.0
google-auth==2.28.2
2.9.1
google-api-core==2.19.0
google-api-python-client==2.127.0
google-auth==2.29.0
Although I'm confused why this would affect @task decorated functions?
from airflow.
@potiuk Yes, I guess my confusion is more about why hook is giving the error in this context rather than the operator; especially as it doesn't seen to be caused by the provider. I downgraded the libraries but the issue persists.
from airflow.
@pankajastro Interesting. Downgrading does work but I'm curious to know what issue is and why the hook method gives the error but the operator does not.
from airflow.
Related Issues (20)
- Duplicated shortcuts with same keys HOT 3
- Allow check_fn of S3KeySensor to be used in more use cases HOT 1
- Dynamic DAG Params behaves differently in manually triggered run vs scheduled run. HOT 3
- wait_for_completion not working when set to True while triggering child dag from parent dag HOT 8
- Using XComArg in BigQueryInsertJobOperator `params` HOT 1
- Close open connections for deferrable SFTPSensor HOT 3
- Airflow postgres synch issue
- The graph should show the median task duration
- Find and display the longest path HOT 4
- Downstream sensors button HOT 9
- Add ordering key in GCP PubSub operator PubSubPublishMessageOperator HOT 1
- Update the Search Ads 360 hook to Call the New Reporting API HOT 3
- mypy: Value of type "XComArg" is not indexable HOT 3
- Status of testing Providers that were prepared on May 30, 2024 HOT 7
- Upgrade Werkzeug >=3.0.3 to address CVE-2024-34069 HOT 4
- Cannot create virtualenv for PythonVirtualenvOperator HOT 7
- Adding DMS serverless options to aws provider HOT 2
- Constraints Dependency Conflict when installing Databricks provider HOT 2
- "Test" airflow connection does not work HOT 7
- Redshift task in running state but SQL execution does not start when OpenLineage is enabled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow.