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

Add PyArrow integration test for C Stream Interface #1848

Merged
merged 3 commits into from Jun 13, 2022

Conversation

viirya
Copy link
Member

@viirya viirya commented Jun 11, 2022

Which issue does this PR close?

Closes #1847.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jun 11, 2022
@viirya
Copy link
Member Author

viirya commented Jun 11, 2022

cc @sunchao

Comment on lines -201 to -207
unsafe {
match (*out).release {
None => (),
Some(release) => release(out),
};
};

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For get_schema and get_next, we did it wrongly to releasing the output struct. It should be handled by the caller.

@codecov-commenter
Copy link

codecov-commenter commented Jun 11, 2022

Codecov Report

Merging #1848 (5afdaca) into master (c396dfb) will decrease coverage by 0.02%.
The diff coverage is 9.52%.

@@            Coverage Diff             @@
##           master    #1848      +/-   ##
==========================================
- Coverage   83.48%   83.46%   -0.03%     
==========================================
  Files         201      201              
  Lines       56838    56852      +14     
==========================================
- Hits        47452    47450       -2     
- Misses       9386     9402      +16     
Impacted Files Coverage Δ
arrow/src/pyarrow.rs 0.00% <0.00%> (ø)
parquet/src/bin/parquet-fromcsv.rs 0.00% <ø> (ø)
arrow/src/ffi_stream.rs 79.67% <66.66%> (+1.17%) ⬆️
parquet_derive/src/parquet_field.rs 65.98% <0.00%> (-0.23%) ⬇️

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 36963d7...5afdaca. Read the comment docs.

Copy link
Member

@sunchao sunchao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @viirya !

@viirya
Copy link
Member Author

viirya commented Jun 13, 2022

Thanks @sunchao !

@viirya viirya merged commit cedaf8a into apache:master Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyArrow intergation test for C Stream Interface
3 participants