-
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
Simplify read_avro by removing unnecessary writer/impl classes #9090
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #9090 +/- ##
===============================================
Coverage ? 10.76%
===============================================
Files ? 114
Lines ? 19086
Branches ? 0
===============================================
Hits ? 2055
Misses ? 17031
Partials ? 0 Continue to review full report at Codecov.
|
@ttnghia @harrism This PR contains the bare minimum changes to remove the reader and impl classes for avro. That change reveals a lot of other improvements we can make to the code, which is why I decided to do it, not just for avro but for json and csv as well. JSON and CSV are much more complicated change sets than this one. For those, I think it made sense to restrict the changes to the bare minimum. After reading your comments, however, it seems that this PR is simple enough that it can still stand some more improvements without becoming overly complicated. I'll take another pass at general improvements to the code. Thanks! |
I did another pass, enforcing const-ness where possible, and doing general cleanup. |
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.
Just some more nit about const
positions. Hope that I don't miss any 😃
@ttnghia while I prefer east const, it is not enforced by style checks. |
rerun tests |
@gpucibot merge |
Depends on #9040