PARQUET-1574: [C++] fix parquet-encoding-test
PARQUET-1574: [C++] fix parquet-encoding-test

Author: Renat Valiullin <rip.nsk@gmail.com>

Closes #4311 from rip-nsk/PARQUET-1574 and squashes the following commits:

3546d4c31 <Renat Valiullin> fix parquet-encoding-test

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