You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/06/11 16:38:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Jark Wu updated FLINK-17528:
----------------------------
Parent: (was: FLINK-17025)
Issue Type: Improvement (was: Sub-task)
> 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: Improvement
> 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)