[jira] [Created] (FLINK-17528) Use getters instead of RowData#get() utility in JsonRowDataSerializationSchema

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17528) Use getters instead of RowData#get() utility in JsonRowDataSerializationSchema

Shang Yuanchun (Jira)
Jark Wu created FLINK-17528:
-------------------------------

             Summary: 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


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)