Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Update Row Condition guidance #10736

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

klavavej
Copy link
Contributor

@klavavej klavavej commented Dec 4, 2024

Resolves https://greatexpectations.atlassian.net/browse/DOC-917. Note that the issue is fairly old and many of the pain points noted in it had already been resolved as a byproduct of other work. So, this PR turned out to be relatively small. I snuck in a few bonus edits as long as I was touching this content like

  • fixing indenting

  • making punctuation consistent

  • reverting what was supposed to be a temporary change from the last big expectation conditions update

  • Description of PR changes above includes a link to an existing GitHub issue

  • PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]

  • Code is linted - run invoke lint (uses ruff format + ruff check)

  • Appropriate tests and docs have been updated

For more information about contributing, visit our community resources.

After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!

Copy link

netlify bot commented Dec 4, 2024

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit 7b5bb7c
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/6750cf45a307010008d732e7
😎 Deploy Preview https://deploy-preview-10736.docs.greatexpectations.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.50%. Comparing base (7b93b5d) to head (7b5bb7c).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #10736      +/-   ##
===========================================
- Coverage    80.53%   80.50%   -0.03%     
===========================================
  Files          463      463              
  Lines        40233    40233              
===========================================
- Hits         32401    32391      -10     
- Misses        7832     7842      +10     
Flag Coverage Δ
3.10 69.67% <ø> (-0.03%) ⬇️
3.10 athena or openpyxl or pyarrow or project or sqlite or aws_creds ?
3.10 aws_deps ?
3.10 big ?
3.10 clickhouse ?
3.10 filesystem ?
3.10 mssql ?
3.10 mysql ?
3.10 postgresql ?
3.10 spark_connect ?
3.10 trino ?
3.11 69.67% <ø> (-0.03%) ⬇️
3.11 athena or openpyxl or pyarrow or project or sqlite or aws_creds ?
3.11 aws_deps ?
3.11 big ?
3.11 clickhouse ?
3.11 filesystem ?
3.11 mssql ?
3.11 mysql ?
3.11 postgresql ?
3.11 spark_connect ?
3.11 trino ?
3.12 69.66% <ø> (-0.04%) ⬇️
3.12 athena or openpyxl or pyarrow or project or sqlite or aws_creds 56.32% <ø> (-0.03%) ⬇️
3.12 aws_deps 46.09% <ø> (-0.03%) ⬇️
3.12 big 54.66% <ø> (-0.03%) ⬇️
3.12 bigquery 48.39% <ø> (ø)
3.12 databricks 50.27% <ø> (ø)
3.12 filesystem 62.58% <ø> (-0.03%) ⬇️
3.12 mssql 51.17% <ø> (-0.03%) ⬇️
3.12 mysql 51.58% <ø> (-0.03%) ⬇️
3.12 postgresql 54.30% <ø> (-0.03%) ⬇️
3.12 snowflake 51.06% <ø> (ø)
3.12 spark 57.59% <ø> (ø)
3.12 spark_connect 46.38% <ø> (-0.03%) ⬇️
3.12 trino 52.12% <ø> (ø)
3.9 69.70% <ø> (-0.03%) ⬇️
3.9 athena or openpyxl or pyarrow or project or sqlite or aws_creds 56.32% <ø> (-0.03%) ⬇️
3.9 aws_deps 46.11% <ø> (-0.03%) ⬇️
3.9 big 54.67% <ø> (-0.03%) ⬇️
3.9 bigquery 48.38% <ø> (ø)
3.9 clickhouse 42.98% <ø> (-0.03%) ⬇️
3.9 databricks 50.26% <ø> (ø)
3.9 filesystem 62.59% <ø> (-0.03%) ⬇️
3.9 mssql 51.15% <ø> (-0.03%) ⬇️
3.9 mysql 51.56% <ø> (-0.03%) ⬇️
3.9 postgresql 54.29% <ø> (-0.03%) ⬇️
3.9 snowflake 51.06% <ø> (ø)
3.9 spark 57.55% <ø> (ø)
3.9 spark_connect 46.39% <ø> (-0.03%) ⬇️
3.9 trino 52.11% <ø> (-0.03%) ⬇️
cloud 0.00% <ø> (ø)
docs-basic 54.02% <ø> (-0.03%) ⬇️
docs-creds-needed 52.89% <ø> (ø)
docs-spark 52.37% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -39,6 +39,8 @@ Great Expectations allows you to specify conditions for validating rows using th

The `condition_parser` defines the syntax of `row_condition` strings. When implementing Expectation conditions with pandas, set this argument to `"pandas"`.

Note that the Expectation with conditions will fail if the Batch being validated is from a different type of Data Source than indicated by the `condition_parser`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note for reviewer: I couldn't get this to indent properly without moving it into the tab items

@klavavej klavavej marked this pull request as ready for review December 4, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant