You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "yangyichao (Jira)" <ji...@apache.org> on 2020/05/12 13:32:00 UTC
[jira] [Commented] (FLINK-17528) Use getters instead of
RowData#get() utility in JsonRowDataSerializationSchema
[ https://issues.apache.org/jira/browse/FLINK-17528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105430#comment-17105430 ]
yangyichao commented on FLINK-17528:
------------------------------------
HiĀ [~jark], I'd like to contribute to this issue, could you help assign this to me?
> Use getters instead of RowData#get() utility in JsonRowDataSerializationSchema
> ------------------------------------------------------------------------------
>
> Key: FLINK-17528
> URL: https://issues.apache.org/jira/browse/FLINK-17528
> Project: Flink
> Issue Type: Sub-task
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Reporter: Jark Wu
> Priority: Major
>
> Currently, we are using utility {{RowData#get(RowData, int, LogicalType)}} and {{ArrayData#get(ArrayData, int, LogicalType)}} to get the field/element objects. However, this is not as efficient as getters of RowData/ArrayData, because this utility involves boxing and unboxing and a big switch condition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)