-
Notifications
You must be signed in to change notification settings - Fork 915
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
Drop pyorc
dependency and use pandas
/pyarrow
instead
#14323
Drop pyorc
dependency and use pandas
/pyarrow
instead
#14323
Conversation
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.
Great. I have a few questions. Also be aware that #14321 tells us we should be cautious about importing pyarrow.orc
except where it's necessary, since it will trigger S3 initialization.
[ | ||
None, | ||
None, | ||
*( |
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.
Same question as above about unnecessary unpacking. Check for more instances of that in this file.
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.
We will need it here because it is a comprehension ...for _ in range(2))
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.
Yes, I see that now.
Co-authored-by: Bradley Dice <[email protected]>
Removed the imports where unnecessary 👍 |
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 for making this change!
LGTM, but I am a bit out of by Python depth here.
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.
One small suggestion, otherwise the substitution LGTM. There are a few unnecessary extra changes, but they are cleanup so may as well merge them now that they're already done.
Co-authored-by: Vyas Ramasubramani <[email protected]>
[ | ||
None, | ||
None, | ||
*( |
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.
Yes, I see that now.
/merge |
Description
This PR removes dependency on
pyorc
incudf
altogether by using drop-in replacements found inpandas
&pyarrow
.Checklist