[
https://issues.apache.org/jira/browse/PARQUET-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xinli Shang updated PARQUET-1683:
---------------------------------
Description:
The method (String filePath = file.toString()) is always called even filePath
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.
[https://github.com/apache/parquet-mr/pull/695]
was:The method (String filePath = file.toString()) is always called even
filePath 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.
> 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
> Priority: Major
>
> The method (String filePath = file.toString()) is always called even filePath
> 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.
>
> [https://github.com/apache/parquet-mr/pull/695]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)