You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "richox (via GitHub)" <gi...@apache.org> on 2023/07/06 08:14:26 UTC

[GitHub] [arrow-rs] richox opened a new pull request, #4478: fix incorrect buffer size limiting in parquet async writer

richox opened a new pull request, #4478:
URL: https://github.com/apache/arrow-rs/pull/4478

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
   -->
   
   Closes #4477 .
   
   # Rationale for this change
    
   <!--
   Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
   Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
   -->
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking change` label.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold commented on pull request #4478: fix incorrect buffer size limiting in parquet async writer

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on PR #4478:
URL: https://github.com/apache/arrow-rs/pull/4478#issuecomment-1629069569

   I took the liberty of fixing the formatting and removing the force parameter


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold merged pull request #4478: fix incorrect buffer size limiting in parquet async writer

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold merged PR #4478:
URL: https://github.com/apache/arrow-rs/pull/4478


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold commented on a diff in pull request #4478: fix incorrect buffer size limiting in parquet async writer

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on code in PR #4478:
URL: https://github.com/apache/arrow-rs/pull/4478#discussion_r1254341418


##########
parquet/src/arrow/async_writer/mod.rs:
##########
@@ -128,7 +137,7 @@ impl<W: AsyncWrite + Unpin + Send> AsyncArrowWriter<W> {
         let metadata = self.sync_writer.close()?;
 
         // Force to flush the remaining data.
-        Self::try_flush(&mut self.shared_buffer, &mut self.async_writer, true).await?;
+        Self::try_flush(&mut self.shared_buffer, &mut self.async_writer, 0, true).await?;

Review Comment:
   Perhaps we could now remove the force argument?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org