wgtmac opened a new pull request, #33739: URL: https://github.com/apache/arrow/pull/33739
### Rationale for this change This [commit](https://github.com/apache/arrow/commit/c8d6110a26c41966e539e9fa2f5cb8c31dc2f0fe) implements parallel column writing in the parquet writer. However, occasional test failure was observed from unit test `TestArrowReadWrite.MultithreadedWrite`. The root cause is an unintentional call of the copy constructor of `ArrowWriteContext` which results in the buffer sharing across all threads. ### What changes are included in this PR? This issue is fixed by inserting each context individually to avoid sharing buffers. ### Are these changes tested? This issue was observed by occasional `TestArrowReadWrite.MultithreadedWrite` -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org