HuaHuaY opened a new pull request, #47524: URL: https://github.com/apache/arrow/pull/47524
### Rationale for this change Give an option to determine whether to write quotes in csv header. ### What changes are included in this PR? 1. Add `QuotingStyle quoting_header` option in `WriteOptions` to determine whether to write quotes in `CSVWriterImpl::WriteHeader`. 2. Move part of the code in `UnquotedColumnPopulator::CheckStringArrayHasNoStructuralChars` into a new function to reuse the logic of checking structural characters. ### Are these changes tested? Yes. ### Are there any user-facing changes? Add `QuotingStyle quoting_header` option in `WriteOptions`. -- 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]
