[
https://issues.apache.org/jira/browse/FLINK-17419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475315#comment-17475315
]
Martijn Visser commented on FLINK-17419:
----------------------------------------
[~xiaodao] Since JsonRowSerializationSchema is deprecated, have you tried this
with JsonRowDataSerializationSchema ?
> kafka sink json data convert issuse,type compare error
> ------------------------------------------------------
>
> Key: FLINK-17419
> URL: https://issues.apache.org/jira/browse/FLINK-17419
> Project: Flink
> Issue Type: Bug
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.8.3
> Reporter: xiaodao
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> org.apache.flink.formats.json.JsonRowSerializationSchema#convert
> the param info is Deserialized from config ;
> eg: info is Types.Boolean and it will not result true by contition
> info == Types.BOOLEAN; beause java serialized and Deserialized will create
> new obj;
> so the operator '==' will return false.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)