[
https://issues.apache.org/jira/browse/FLINK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289196#comment-15289196
]
Fabian Hueske commented on FLINK-3926:
--------------------------------------
I think the convention is that tuple field names start with "f" followed by the
index, so {{fieldName.substring(1)}} should be OK (although we could also check
that the name starts with "f").
How did you come across this issue? Do you have code that fail because of this
method?
> Incorrect implementation of getFieldIndex in TupleTypeInfo
> -----------------------------------------------------------
>
> Key: FLINK-3926
> URL: https://issues.apache.org/jira/browse/FLINK-3926
> Project: Flink
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.2
> Reporter: Yijie Shen
> Assignee: Yijie Shen
> Priority: Minor
>
> The origin code assumes filed name as *f2* which is not always true.
> Finding a field *x* would result in NumberFormatException
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)