Comments (1)
Same needed to run a custom expectation from PLUGINS folder.
It could be done with additional IMPORT with pure GE but there is no way to do it with airflow-provider-great-expectations
Meanwhile it looks like this works:
in your DAG:
def ge_run_func():
import great_expectations as gx
data_context = gx.get_context(context_root_dir="your_root_dir")
#import your custom expectation plugin from plugins folder here
from expectations.expect_column_values_to_be_alphabetical import ExpectColumnValuesToBeAlphabetical
result: CheckpointResult = data_context.run_checkpoint(
checkpoint_name="your_checkpoint_name"
)
return (result["success"])
- and run ge_run_func in DAG with PythonOperator
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
- 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
- data_asset_name is not recognized in airflow-provider-great-expectations==0.2.0 HOT 18
- Discussion: Version Release Dates
- Feature request: Way to pass in schema name to overwrite the schema pulled from the conn_id HOT 2
- Feature request: Add templating for attribute dataframe_to_validate. HOT 1
- Snowflake connection failure when only using the Airflow UI fields to set the connection HOT 1
- Issue in connecting the GX operator with Snowflake data HOT 12
- collision with another protobuf version HOT 7
- 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.