Skip to content

Included pyspark str_matches builtin check - #2249

Merged
cosmicbboy merged 1 commit into
unionai-oss:mainfrom
aditypan:fix/2181-pyspark-strmatch
Apr 4, 2026
Merged

cosmicbboy merged 1 commit into
unionai-oss:mainfrom
aditypan:fix/2181-pyspark-strmatch

Conversation

@aditypan

Copy link
Copy Markdown
Contributor

I have included the built in check for pyspark which will resolve the issue "KeyError("<class 'pandera.api.pyspark.types.PysparkDataframeColumnObject'>")" as faced by users when trying to validate column using regex match. Included test cases for the above changes.

Fixes: #2181

@aditypan

Copy link
Copy Markdown
Contributor Author

@cosmicbboy can you please review the PR and help merge it.

@codecov

codecov Bot commented Mar 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.69%. Comparing base (48ccf83) to head (649a5b7).
⚠️ Report is 167 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2249      +/-   ##
==========================================
+ Coverage   83.95%   93.69%   +9.73%     
==========================================
  Files         138      138              
  Lines       11102    11110       +8     
==========================================
+ Hits         9321    10409    +1088     
+ Misses       1781      701    -1080     

☔ View full report in Codecov by Harness.
📢 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.

@cosmicbboy
cosmicbboy merged commit 02e4bca into unionai-oss:main Apr 4, 2026
291 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.

Error - Pandera Pyspark - Not able to do check for str_matches

2 participants