Coder Social home page Coder Social logo

Comments (7)

edgarrmondragon avatar edgarrmondragon commented on July 24, 2024 1

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

spbail avatar spbail commented on July 24, 2024 1

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.

edgarrmondragon avatar edgarrmondragon commented on July 24, 2024

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.

Casyfill avatar Casyfill commented on July 24, 2024

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.

edgarrmondragon avatar edgarrmondragon commented on July 24, 2024

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.

Casyfill avatar Casyfill commented on July 24, 2024

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.

scoyne2 avatar scoyne2 commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.