Commits


Yibo Cai authored and Antoine Pitrou committed 78e993bb8c8
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 #10154 from cyb70289/12240-invalid-offsetof Lead-authored-by: Yibo Cai <yibo.cai@arm.com> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>