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

Mark OnCloseRowGroup Send #4893

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

devinjdangelo
Copy link
Contributor

Which issue does this PR close?

Enables apache/datafusion#7655

Rationale for this change

#4871 rolled back this change, but without it apache/datafusion#7655 encounters a compile time error since OnCloseRowGroup is used across an await.

Apart from this change, apache/datafusion#7655 is working great against the current master branch of arrow-rs.

The compile error can be viewed here: https://github.com/apache/arrow-datafusion/actions/runs/6412903672/job/17410973730?pr=7655

What changes are included in this PR?

OnCloseRowGroup is marked Send.

Are there any user-facing changes?

@tustvold
Copy link
Contributor

tustvold commented Oct 5, 2023

Aah, it is because you want to hold the row group writer across a call to AsyncWrite to ObjectStorage... I guess that makes sense

@tustvold tustvold added the api-change Changes to the arrow API label Oct 5, 2023
@tustvold tustvold merged commit 208da03 into apache:master Oct 5, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-change Changes to the arrow API parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants