John Lonergan created FLINK-14238:
-------------------------------------

             Summary: ParquetPojoInputFormat logging bug
                 Key: FLINK-14238
                 URL: https://issues.apache.org/jira/browse/FLINK-14238
             Project: Flink
          Issue Type: Improvement
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.9.0
            Reporter: John Lonergan


Line 64: LOG.error("Fields number is %d", getFieldNames().length);

Generates a bunch of spurious error logging.

It is a coding error
- should probably have been trace but ...
- is actually a coding error as "%d" isn't a valid format for the logger so we 
never see the length

Recommend - This line should be deleted.

https://github.com/apache/flink/blob/d015ce7a3b86a529f4db79ed8ac8dbe28c62d6b8/flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/ParquetPojoInputFormat.java#L64



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to