-
Notifications
You must be signed in to change notification settings - Fork 72
Use PyErrs for all Python-facing methods in dask_planner
#662
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
Use PyErrs for all Python-facing methods in dask_planner
#662
Conversation
|
This would also resolve #510 |
Codecov Report
@@ Coverage Diff @@
## datafusion-sql-planner #662 +/- ##
=========================================================
Coverage ? 65.70%
=========================================================
Files ? 73
Lines ? 3636
Branches ? 754
=========================================================
Hits ? 2389
Misses ? 1098
Partials ? 149 📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
jdye64
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been long due. Thanks for taking it on
jdye64
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long overdue and much appreciated!
|
I'm going to merge this since the failures are simply codecov failing to upload. Thanks again @charlesbluca |
As a follow up on reviews I received in #656, this PR replaces the
paniccalls within Python-facing methods indask_plannerand replaces them withErr(PyErr)), making modifications to signatures and logic where necessary to get this working.This PR also adds/modifies the custom exceptions so that they can be used throughout the codebase instead of
PyErr::new.