cyb70289 opened a new pull request #10154: URL: https://github.com/apache/arrow/pull/10154
arrow::csv::ConvertOptions has stl container data members which are not guaranteed to be standard layout type. It causes invalid-offsetof warning when compiled with clang-12. This patch changes directly embedded CCSVConvertOptions to unique_ptr to fix the issue. ReadOptions and WriteOptions are also updated. ParseOptions is left untouched. It needs to be persistent with pickle. Pointer data member must be serialized. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
