Skip to content

Divide by zero in logging code #1710

@asfimport

Description

@asfimport

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.

Reporter: Jim Carroll / @jimfcarroll
Assignee: Jim Carroll / @jimfcarroll

Related issues:

Note: This issue was originally created as PARQUET-157. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions