-
-
Notifications
You must be signed in to change notification settings - Fork 117
progressbar for inserts/upserts of all fileformats, closes #485 #486
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
Conversation
Codecov ReportBase: 96.47% // Head: 96.52% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #486 +/- ##
==========================================
+ Coverage 96.47% 96.52% +0.04%
==========================================
Files 6 6
Lines 2642 2646 +4
==========================================
+ Hits 2549 2554 +5
+ Misses 93 92 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Annoying
Looks like this: |
There's a fix for For the moment looks like pinning to Python 3.10.6 could help. Need to figure out how to do that in GitHub Actions though. |
https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-the-python-version-input says can set the full version:
I'll try that. |
This looks good to me. I need to run some manual tests before merging (it's a good sign that the automated tests pass though). |
I had a big CSV file lying around, I converted it to other formats like this:
Then tested the progress bar like this:
Output:
With And for regular JSON:
This is actually not doing the right thing. The problem is that |
I'm going to land this anyway. The lack of a streaming JSON parser is a separate issue, I don't think it should block landing this improvement. |
📚 Documentation preview 📚: https://sqlite-utils--486.org.readthedocs.build/en/486/