You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "lynn (JIRA)" <ji...@apache.org> on 2019/04/16 01:48:00 UTC
[jira] [Created] (FLINK-12207) JsonRowDeserializationSchema and
JsonRowSerializationSchema Types "==" bug
lynn created FLINK-12207:
----------------------------
Summary: 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
Attachments: image-2019-04-16-09-39-18-981.png, image-2019-04-16-09-42-51-471.png
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)