[
https://issues.apache.org/jira/browse/FLINK-19981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-19981.
--------------------------------
Fix Version/s: 1.13.0
Resolution: Fixed
Fixed in 1.13.0: d2e9aeb55d5c7bfaa65f92163a142f53200711ef
> Improve dealing with Row in DataStream API
> ------------------------------------------
>
> Key: FLINK-19981
> URL: https://issues.apache.org/jira/browse/FLINK-19981
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Timo Walther
> Assignee: Timo Walther
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
>
> Working with indices for accessing a row's fields is cumbersome especially if
> a row consists of many columns (some pipelines have 500+ columns) and a
> column name needs to be mapped to an index before a field can be accessed. We
> can leverage the available schema information to make dealing with rows more
> convenient. The runtime impact should be neglectable if implemented
> correctly. If maximum performance is required people can fallback to
> index-based field access or even internal RowData structure at any time.
> This introduces:
> {code}
> Row.withPositions(int length)
> Row.withNames()
> Row.getField(String)
> Row.setField(String, T value)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)