-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Improve ujson test coverage or clean up dead code #26212
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
Comments
@jbrockmendel you might be interested |
I’m hopeful that we can eventually remove all of this and use arrow and it’s JSON support. Given that, it may not be worthwhile spending too much time here. |
@TomAugspurger any idea what "eventually" means in this context? i.e. are we talking months or years? |
https://issues.apache.org/jira/browse/ARROW-694 was the initial blocker, and that just landed in arrow 0.13.0. So, with a good amount of effort, months seems reasonable. |
Yah, there's definitely some remove-able stuff in there.
|
Yep thanks @jbrockmendel . FYI some of the compat stuff I already ripped out in #26211 |
This has been / is being tackled elsewhere |
I've been spending some time cleaning up the integration with ujson in our source code. After enabling some debugging directives and running the test suite I noticed that there were quite a few places in objToJSON.c which were not being hit. This can point to either dead code or a lack of test coverage, so these can be whittled down.
In my own repo I have a branch of this where each of the items are commented with
// not hit in tests
which you can see here:https://github.com/WillAyd/pandas/blob/dead-json/pandas/_libs/src/ujson/python/objToJSON.c
Planning to go through these individually and see what we can do. Extra set of eyes would certainly be welcome
The text was updated successfully, but these errors were encountered: