You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Xinli Shang (Jira)" <ji...@apache.org> on 2019/10/21 16:48:00 UTC

[jira] [Created] (PARQUET-1683) Remove unnecessary string converting in readFooter method

Xinli Shang created PARQUET-1683:
------------------------------------

             Summary: Remove unnecessary string converting in readFooter method
                 Key: PARQUET-1683
                 URL: https://issues.apache.org/jira/browse/PARQUET-1683
             Project: Parquet
          Issue Type: Improvement
          Components: parquet-mr
    Affects Versions: 1.12.0
            Reporter: Xinli Shang


The method file.toString() is always called even it is not used(it is only used when an exception is thrown which is rare).  This kind of string conversion should be avoided when it is not used in terms of memory & CPU efficiency. 



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