Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Added support for async csv reading. #562

Merged
merged 3 commits into from Oct 31, 2021
Merged

Added support for async csv reading. #562

merged 3 commits into from Oct 31, 2021

Conversation

jorgecarleitao
Copy link
Owner

@jorgecarleitao jorgecarleitao commented Oct 31, 2021

Using futures::{AsyncRead, AsyncSeek} together with csv_async crate.

See the new example in examples/ for a detail on how to use this.

@codecov
Copy link

codecov bot commented Oct 31, 2021

Codecov Report

Merging #562 (d020b4d) into main (5fc843d) will increase coverage by 0.07%.
The diff coverage is 68.80%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #562      +/-   ##
==========================================
+ Coverage   78.92%   78.99%   +0.07%     
==========================================
  Files         382      392      +10     
  Lines       24276    24787     +511     
==========================================
+ Hits        19160    19581     +421     
- Misses       5116     5206      +90     
Impacted Files Coverage Δ
src/io/csv/mod.rs 0.00% <0.00%> (ø)
src/io/csv/read/reader.rs 64.28% <ø> (+21.42%) ⬆️
src/io/csv/read_async/mod.rs 0.00% <0.00%> (ø)
src/io/csv/read_utils.rs 56.69% <56.69%> (ø)
src/io/csv/read_async/reader.rs 64.28% <64.28%> (ø)
src/io/csv/read_async/infer_schema.rs 79.16% <79.16%> (ø)
src/io/csv/utils.rs 80.76% <80.76%> (ø)
src/io/csv/read/deserialize.rs 100.00% <100.00%> (+38.46%) ⬆️
src/io/csv/read/infer_schema.rs 95.45% <100.00%> (+12.12%) ⬆️
src/io/csv/read_async/deserialize.rs 100.00% <100.00%> (ø)
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5fc843d...d020b4d. Read the comment docs.

@jorgecarleitao jorgecarleitao merged commit c2b3e8c into main Oct 31, 2021
@jorgecarleitao jorgecarleitao deleted the async_csv branch October 31, 2021 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant