[ 
https://issues.apache.org/jira/browse/PARQUET-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271572#comment-14271572
 ] 

Jim Carroll commented on PARQUET-157:
-------------------------------------

Added a PR to take care of this problem: 
https://github.com/apache/incubator-parquet-mr/pull/102

> Divide by zero in logging code
> ------------------------------
>
>                 Key: PARQUET-157
>                 URL: https://issues.apache.org/jira/browse/PARQUET-157
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: parquet-mr_1.6.0
>            Reporter: Jim Carroll
>
> There's a divide by zero in the timing measurement code of 
> InternalParquetRecordReader at line 109 here: 
> https://github.com/apache/incubator-parquet-mr/blob/master/parquet-hadoop/src/main/java/parquet/hadoop/InternalParquetRecordReader.java#L109
> totalTime is 0 and there's no check.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to