-
Notifications
You must be signed in to change notification settings - Fork 78
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
feature: Improve string representation of datafusion classes #159
Conversation
@@ -57,8 +57,8 @@ impl PyExpr { | |||
expr.into() | |||
} | |||
|
|||
fn __str__(&self) -> PyResult<String> { |
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.
Removed since redundant if implemented the same way, e.g. str(literal(5))
will fall back to __repr__
if __str__
is not implemented)
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.
@simicd LGTM. Thanks for this. As Andy mentioned we are aware of the CI issue. I just pushed some changes to PR after having Apache infra whitelist a github action for protoc which is what was causing the issue. It might take a few iterations from me there to get it all working but hopefully within a day it should all be sorted out
@andygrove and @simicd sorry for the delay but the CI fix PR is ready for review now if either of you want to take a look #162 @simicd after this merges if you want to merge into this PR your CI build should work as well and we can get your PR merged in. |
ca47e29
to
0ede908
Compare
Thanks a lot @jdye64! Checks passed now |
@simicd nice! Yep, I don't have commit permissions but looks good now |
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.
Thanks @simicd
Which issue does this PR close?
Closes #158.
Rationale for this change
Improve developer experience
What changes are included in this PR?
Implement
__repr__
methods of the following classes:Are there any user-facing changes?
Display additional information when debugging or using REPL tools