Skip to content

Conversation

@deepyaman
Copy link
Collaborator

@deepyaman deepyaman commented Jun 29, 2025

Should be merged after #2063

@deepyaman deepyaman changed the title Implement regex option and add additional checks [WIP] Implement regex option and add additional checks Jun 29, 2025
@codecov
Copy link

codecov bot commented Jun 29, 2025

Codecov Report

❌ Patch coverage is 87.75510% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.51%. Comparing base (812b2a8) to head (49cee21).
⚠️ Report is 358 commits behind head on main.

Files with missing lines Patch % Lines
pandera/backends/ibis/container.py 37.50% 5 Missing ⚠️
pandera/backends/ibis/components.py 96.55% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2061      +/-   ##
==========================================
- Coverage   94.28%   93.51%   -0.77%     
==========================================
  Files          91      135      +44     
  Lines        7013    10481    +3468     
==========================================
+ Hits         6612     9801    +3189     
- Misses        401      680     +279     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

],
[
lambda t, col: t.mutate(**{col: _failure_value(col)}),
"Column '.+' failed element-wise validator number",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The Polars error message doesn't contain "element-wise"; see tests/polars/test_polars_container.py.

@deepyaman deepyaman marked this pull request as ready for review June 30, 2025 21:17
@deepyaman deepyaman changed the title [WIP] Implement regex option and add additional checks Implement regex option and add additional checks Jun 30, 2025
@deepyaman deepyaman requested a review from cosmicBboy June 30, 2025 21:17
@deepyaman
Copy link
Collaborator Author

@cosmicBboy 49cee21 feels like a more significant change that you may want to check; it feels a bit hacky, but it's also similar in spirit to what's done on the pandas/PySpark backends I think. If you're not comfortable with it, can remove it to a separate PR for now and have somewhat less complete regex support.

@cosmicBboy cosmicBboy merged commit a5e594b into unionai-oss:main Jul 2, 2025
200 of 202 checks passed
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.

2 participants