westonpace commented on code in PR #33739:
URL: https://github.com/apache/arrow/pull/33739#discussion_r1082545465
##########
cpp/src/parquet/arrow/writer.cc:
##########
@@ -291,8 +291,13 @@ class FileWriterImpl : public FileWriter {
arrow_properties_(std::move(arrow_properties)),
closed_(false) {
if (arrow_properties_->use_threads()) {
- parallel_column_write_contexts_.resize(schema_->num_fields(),
- {pool, arrow_properties_.get()});
Review Comment:
I believe `parquet::AllocateBuffer` returns a `shared_ptr` which might make
that difficult. However, we could probably change that too.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]