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

Dawid Wysakowicz commented on FLINK-14608:
------------------------------------------

Do we have any performance benchmarks for that change? The guidelines is 
"avoid" rather than "don't use". I would always favour readability unless we 
can proof the other version is more performant.

> avoid using Java Streams in JsonRowDeserializationSchema
> --------------------------------------------------------
>
>                 Key: FLINK-14608
>                 URL: https://issues.apache.org/jira/browse/FLINK-14608
>             Project: Flink
>          Issue Type: Improvement
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.10.0
>            Reporter: Kurt Young
>            Assignee: Jiayi Liao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> According to 
> [https://flink.apache.org/contributing/code-style-and-quality-java.html], we 
> should avoid using Java Streams in any performance critical code. Since this 
> `DeserializationRuntimeConverter` will be called per field of each coming 
> record, we should provide a non Java Streams implementation. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to