You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/10 14:57:58 UTC
[jira] [Commented] (FLINK-5358) Support RowTypeInfo extraction in
TypeExtractor by Row instance
[ https://issues.apache.org/jira/browse/FLINK-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15815183#comment-15815183 ]
ASF GitHub Bot commented on FLINK-5358:
---------------------------------------
Github user twalthr commented on the issue:
https://github.com/apache/flink/pull/3027
+1 to merge
> Support RowTypeInfo extraction in TypeExtractor by Row instance
> ---------------------------------------------------------------
>
> 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)