Skip to content
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

Update import logic to use polars instead of pyarrow, added logging #63

Merged
merged 3 commits into from
Dec 12, 2022

Conversation

StijnKas
Copy link
Collaborator

With pola-rs/polars#5687 closed, I've updated all import logic for pdstools to use polars over pyarrow. Since we make heavy use of ndjson, this issue was a blocker. All imports should now be much faster.

Additionally, I've added some basic logging to the file import logic.

@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Base: 77.63% // Head: 77.49% // Decreases project coverage by -0.13% ⚠️

Coverage data is based on head (49a2022) compared to base (f9e0e92).
Patch coverage: 65.71% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   77.63%   77.49%   -0.14%     
==========================================
  Files          14       14              
  Lines        2258     2271      +13     
==========================================
+ Hits         1753     1760       +7     
- Misses        505      511       +6     
Impacted Files Coverage Δ
python/pdstools/valuefinder/ValueFinder.py 91.39% <ø> (-0.10%) ⬇️
python/pdstools/utils/cdh_utils.py 83.59% <63.63%> (-2.20%) ⬇️
python/pdstools/adm/ADMDatamart.py 91.05% <100.00%> (+0.04%) ⬆️

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@StijnKas StijnKas merged commit c3c55c4 into master Dec 12, 2022
@StijnKas StijnKas deleted the polars_import branch December 12, 2022 14:28
@StijnKas StijnKas mentioned this pull request Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant