[ https://issues.apache.org/jira/browse/FLINK-19500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
CaoZhen closed FLINK-19500. --------------------------- Resolution: Not A Problem > Using canal-json,debezium-json,maxwell-json serialization, the DELETE > semantics should be interpreted. > ------------------------------------------------------------------------------------------------------ > > Key: FLINK-19500 > URL: https://issues.apache.org/jira/browse/FLINK-19500 > Project: Flink > Issue Type: Bug > Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile) > Reporter: CaoZhen > Priority: Minor > > When Using {{canal-json}},{{debezium-json}},{{maxwell-json}} serialization, > the RowData of {{DELETE}} was not put {{old}} data into JSON message. > > *For example,Maxwell-json:* > *the Rowdata:* > -U(106,hammer,16oz carpenter's hammer,1.0) > > *active Maxwell-json serialization:* > > {code:java} > { > "data":{ > "id":106, > "name":"hammer", > "description":"16oz carpenter's hammer", > "weight":1 > }, > "type":"delete" > } > {code} > > > *expected Maxwell-json serialization:* > {code:java} > { > "old":{ > "id":106, > "name":"hammer", > "description":"16oz carpenter's hammer", > "weight":1 > }, > "data":null, > "type":"delete" > } > {code} > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)