Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-157

Divide by zero in logging code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • parquet-mr
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jimfcarroll Jim Carroll
              jimfcarroll Jim Carroll
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: