Comments (7)
@Casyfill Oh I think I just found a solution 😅. Threads seem to be used to send usage statistics so I disabled them in great_expectations.yml
:
anonymous_usage_statistics:
enabled: false
from airflow-provider-great-expectations.
Thanks for helping triage this! Obviously this isn't an ideal solution form our perspective since we'd like to keep usage stats turned on if possible, but I'm glad there's at least a workaround. I'll tag this for review and maybe we can come up with a permanent fix.
from airflow-provider-great-expectations.
We're on Airflow 1.10.13 and running into the same issue when trying to clear a GreatExpectationsOperator
task.
from airflow-provider-great-expectations.
Thanks @edgarrmondragon , that makes a lot of sense.
Perhaps still makes sense to turn this off automatically (or flash a warning) by default as part of the operator
from airflow-provider-great-expectations.
Perhaps still makes sense to turn this off automatically (or flash a warning) by default as part of the operator
That would be reasonable as the true solution.
from airflow-provider-great-expectations.
2 cents - it is obviously dependent on your deployment, but apparently, if you remove data_context_id
(which I assumed to be unused given enabled:false
) from the expectations yaml, it will attempt to override this YAML upon initialization. To avoid that (which does not make sense in airflow, and is forbidden by our settings), just get this line back, while keeping enabled:false
from airflow-provider-great-expectations.
On airflow-provider-great-expectations==0.0.5
and great-expectations==0.13.9
I too get error can't pickle _thread.lock objects
when attempting to clear the GE Task using the below.
(I am using Astronomer with Airflow 1.10.7
anonymous_usage_statistics:
enabled: false
If I downgrade to airflow-provider-great-expectations==0.0.4
and great-expectations==0.13.7
I do not see this issue (except when attempting to use a Postgres MetricStore
from airflow-provider-great-expectations.
Related Issues (20)
- Snowflake Region should be optional
- Add Trino support HOT 1
- GreatExpectationsOperator is overriding database name with schema HOT 2
- Feature Request: pass parameters from Airflow to GE Checkpoint
- Feature Request: run EXPERIMENTAL expectation (from great_expectations_experimental library) from Airflow? HOT 1
- Parsing data_asset_name should account for fully qualified table name.
- How to pass create_temp_table: False to SqlAlchemy? HOT 3
- Test failure due to `apache-airflow-providers-snowflake` 4.3.1
- Passing value_set through Evaluation Parameters crashes if list size is more than 100
- Cannot run validation on BigQuery HOT 2
- Connection to Athena via `conn_id`
- Case-sensitive code for ODBC Driver extras
- Feature request: Allow passage of credentials for Stores via the GXO
- Parallel GreatExpectationsOperator tasks corrupt great_expectations.yml HOT 3
- Parallel Execution of GX in Airflow randomly fails. In serial execution always passes
- Build data_context object in `__init__()` and not in `execute` method
- Can't use `checkpoint_kwargs` with `conn_id`
- add support for Athena (aws_default) airflow connection HOT 7
- GreatExpectationsOperator ignoring schema from connection HOT 1
- Add schema to template fields
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-provider-great-expectations.