You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "John Lonergan (Jira)" <ji...@apache.org> on 2021/11/12 22:48:00 UTC

[jira] [Closed] (FLINK-14238) ParquetPojoInputFormat logging bug

     [ https://issues.apache.org/jira/browse/FLINK-14238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Lonergan closed FLINK-14238.
---------------------------------
    Resolution: Abandoned

> ParquetPojoInputFormat logging bug
> ----------------------------------
>
>                 Key: FLINK-14238
>                 URL: https://issues.apache.org/jira/browse/FLINK-14238
>             Project: Flink
>          Issue Type: Bug
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.9.0
>            Reporter: John Lonergan
>            Priority: Not a Priority
>
> 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.20.1#820001)