You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Matt DePero (Jira)" <ji...@apache.org> on 2022/07/05 22:40:00 UTC
[jira] [Created] (ARROW-16983) Delta byte array encoder broken due to memory leak
Matt DePero created ARROW-16983:
-----------------------------------
Summary: Delta byte array encoder broken due to memory leak
Key: ARROW-16983
URL: https://issues.apache.org/jira/browse/ARROW-16983
Project: Apache Arrow
Issue Type: Bug
Components: Go, Parquet
Reporter: Matt DePero
The `DeltaByteArrayEncoder` has a memory leak due to a bug in how `EstimatedDataEncodedSize` is calculated. DeltaByteArrayEncoder extends `encoder` which calculates EstimatedDataEncodedSize by calling `Len()` on its `PooledBufferWriter` sink. DeltaByteArrayEncoder however does not write data to sink, instead writing data to `prefixEncoder` and `suffixEncoder` causing EstimatedDataEncodedSize to always return zero.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)