You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2019/04/16 07:44:00 UTC

[jira] [Closed] (FLINK-12207) JsonRowDeserializationSchema and JsonRowSerializationSchema Types "==" bug

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

Dawid Wysakowicz closed FLINK-12207.
------------------------------------
    Resolution: Duplicate

> JsonRowDeserializationSchema and JsonRowSerializationSchema Types "==" bug
> --------------------------------------------------------------------------
>
>                 Key: FLINK-12207
>                 URL: https://issues.apache.org/jira/browse/FLINK-12207
>             Project: Flink
>          Issue Type: Bug
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>            Reporter: lynn
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: image-2019-04-16-09-39-18-981.png, image-2019-04-16-09-42-51-471.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When I use Json class as format instance object as fllows:
> !image-2019-04-16-09-39-18-981.png!
> I find " convert(JsonNode node, TypeInformation<?> info) “ method in JsonRowDeserializationSchema use ”==“ assert equals:
> !image-2019-04-16-09-42-51-471.png!
> therefore, all if statement returns false, so i think it is a bug. 
> The "convert" method in JsonRowSerializationSchema  Class has the the same problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)