[
https://issues.apache.org/jira/browse/FLINK-5348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15754119#comment-15754119
]
ASF GitHub Bot commented on FLINK-5348:
---------------------------------------
Github user wuchong commented on the issue:
https://github.com/apache/flink/pull/3020
Hi @tonycox , the field names of RowTypeInfo are guaranteed to be unique.
So I think `getFieldIndex ` is fine with it. Do you have special case which
`getFieldIndex` give a wrong result ?
> Support custom field names for RowTypeInfo
> ------------------------------------------
>
> Key: FLINK-5348
> URL: https://issues.apache.org/jira/browse/FLINK-5348
> Project: Flink
> Issue Type: Improvement
> Components: Core
> Reporter: Jark Wu
> Assignee: Jark Wu
>
> Currently, the RowTypeInfo doesn't support optional custom field names, but
> forced to generate {{f0}} ~ {{fn}} as field names. It would be better to
> support custom names and will benefit some cases (e.g. FLINK-5280).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)