sanjibansg commented on a change in pull request #12530: URL: https://github.com/apache/arrow/pull/12530#discussion_r821921095
########## File path: cpp/src/arrow/dataset/dataset_writer.cc ########## @@ -342,11 +357,12 @@ class DatasetWriterDirectoryQueue : public util::AsyncDestroyable { Make(util::AsyncTaskGroup* task_group, const FileSystemDatasetWriteOptions& write_options, DatasetWriterState* writer_state, std::shared_ptr<Schema> schema, - std::string dir) { + std::string directory, std::string prefix) { auto dir_queue = util::MakeUniqueAsync<DatasetWriterDirectoryQueue>( - std::move(dir), std::move(schema), write_options, writer_state); + std::move(directory), std::move(prefix), std::move(schema), write_options, + writer_state); RETURN_NOT_OK(task_group->AddTask(dir_queue->on_closed())); - dir_queue->PrepareDirectory(); + dir_queue->PrepareDirectory(prefix); Review comment: Made the change. -- 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