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)

Reply via email to