ARROW-12007: [C++] Loading parquet file returns "Invalid UTF8 payload" error
ARROW-12007: [C++] Loading parquet file returns "Invalid UTF8 payload" error

Judging from the comment "avoid spending time validating UTF8 data" with the setting of the false value to the cast_options.allow_invalid_utf8, it seems to me this was intended to be true rather than false.

Also, this resolved the error I was getting through the arrow R package, which seems to be ARROW-12007.

Closes #10759 from hideaki/cancel_unnecessary_utf8_check

Authored-by: Hideaki Hayashi <6c1626b68c51c2964c1fd3b117e703924c342295@gmail.com>
Signed-off-by: Antoine Pitrou <9359a4d812173b65a3a0094cd86363e79731a3c2@python.org>

apache/arrow,apache/arrow,laurentgo/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,laurentgo/arrow,kou/arrow,apache/arrow,laurentgo/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,apache/arrow,wesm/arrow,laurentgo/arrow,apache/arrow,kou/arrow,cpcloud/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,wesm/arrow,kou/arrow,apache/arrow,wesm/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,wesm/arrow,kou/arrow,apache/arrow,icexelloss/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,cpcloud/arrow,kou/arrow,wesm/arrow,icexelloss/arrow,cpcloud/arrow,kou/arrow,laurentgo/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,cpcloud/arrow,icexelloss/arrow,apache/arrow,laurentgo/arrow,kou/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,laurentgo/arrow,apache/arrow,kou/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,cpcloud/arrow,apache/arrow,apache/arrow,icexelloss/arrow,wesm/arrow