ARROW-9827: [C++][Dataset] Skip parsing RowGroup metadata statistics when there is no filter
ARROW-9827: [C++][Dataset] Skip parsing RowGroup metadata statistics when there is no filter

Closes #8037 from jorisvandenbossche/ARROW-9827-dataset-parquet-skip-statistics

Authored-by: Joris Van den Bossche <36c737f86d71d8ee1ddeb1e5c83102ee5de8f97c@gmail.com>
Signed-off-by: Benjamin Kietzman <be26f8d5d161e4d7965ee00602589fb2b74149f2@gmail.com>

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