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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.8.0, 1.8.1
    • 1.9.0, 1.8.2
    • parquet-mr
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: