ARROW-16983: [Go][Parquet] fix EstimatedDataEncodedSize of DeltaByteArrayEncoder (#13522)
ARROW-16983: [Go][Parquet] fix EstimatedDataEncodedSize of DeltaByteArrayEncoder (#13522)

`DeltaByteArrayEncoder` extends `encoder` which calculates `EstimatedDataEncodedSize()` by calling `Len()` on its `sink`. `DeltaByteArrayEncoder` however does not write its data out to sink, instead writing out to `prefixEncoder` and `suffixEncoder`, causing EstimatedDataEncodedSize to always return zero, resulting in `FlushCurrentPage` never being called.

Authored-by: Matt DePero <05e0fc2d8e921c85367e51885e9be0b58784fe40@neeva.co>
Signed-off-by: Matthew Topol <77859d6835567f0f056f0d6dfdd973dd9f0ccbba@factset.com>
apache/arrow,icexelloss/arrow,kou/arrow,apache/arrow,apache/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,wesm/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,kou/arrow,icexelloss/arrow,kou/arrow,apache/arrow,icexelloss/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,apache/arrow,apache/arrow,wesm/arrow,wesm/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,kou/arrow,wesm/arrow,kou/arrow,apache/arrow,icexelloss/arrow,kou/arrow,apache/arrow,kou/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,kou/arrow,kou/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,wesm/arrow,kou/arrow