Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-12240: [Python] Fix invalid-offsetof warning
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. Parse and Read options are also updated. Closes apache#10154 from cyb70289/12240-invalid-offsetof Lead-authored-by: Yibo Cai <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information