[
https://issues.apache.org/jira/browse/FLINK-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15760719#comment-15760719
]
Anton Solovev commented on FLINK-5358:
--------------------------------------
Any ExecutionEnvironment exctracts type from TypeExtractor first elemnt in
collection in such methods {{#fromCollection(Collection<X> data)}},
{{fromElements(X... data)}}
I think we need rework them either
[~fhueske], [~jark] what do you think?
> Support Row in TypeExtractor
> ----------------------------
>
> Key: FLINK-5358
> URL: https://issues.apache.org/jira/browse/FLINK-5358
> Project: Flink
> Issue Type: Improvement
> Reporter: Anton Solovev
> Assignee: Anton Solovev
>
> {code}
> Row[] data = new Row[]{};
> TypeInformation<X> typeInfo = TypeExtractor.getForObject(data[0]);
> {code}
> method {{getForObject}} wraps it into
> {code}
> GenericTypeInfo<org.apache.flink.types.Row>
> {code}
> the method should return {{RowTypeInfo}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)