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 09:42:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-12207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818839#comment-16818839 ] 

Dawid Wysakowicz commented on FLINK-12207:
------------------------------------------

Hi [~lynnyuan],
Thank you for reporting this issue. We are aware of it already. You may find corresponding issue here [FLINK-11727]. Before merging the solution we want to take another look at how we handle timestamps in the format. It should be available for the next version though.

> 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: 20m
>  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)