You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Fokko Driesprong (Jira)" <ji...@apache.org> on 2020/05/07 15:56:01 UTC

[jira] [Resolved] (PARQUET-1750) Reduce Memory Usage of RowRanges Class

     [ https://issues.apache.org/jira/browse/PARQUET-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fokko Driesprong resolved PARQUET-1750.
---------------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Reduce Memory Usage of RowRanges Class
> --------------------------------------
>
>                 Key: PARQUET-1750
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1750
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> {{RowRanges}} maintains an internal {{ArrayList}} with a default capacity (10).  However, sometimes it is known ahead of time that only a single instance of {{Range}} will be added.  For these cases, do not instantiate an {{ArrayList}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)