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

Fix a potential bug in MessageTypeParser where we ignore and overwrite the initial value of a method parameter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 1.8.1
    • Fix Version/s: 1.9.0, 1.8.2
    • Component/s: parquet-mr
    • Labels:
      None
    • Flags:
      Patch

      Description

      In org.apache.parquet.schema.MessageTypeParser, for addGroupType() and addPrimitiveType(), the initial value of this parameter t is ignored, and t is overwritten here.

      This often indicates a mistaken belief that the write to the parameter will be conveyed back to the caller.

      This is a bug found by FindBugs™.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                proflin Liwei Lin(Inactive)
                Reporter:
                proflin Liwei Lin(Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: