[
https://issues.apache.org/jira/browse/FLINK-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687902#comment-15687902
]
ASF GitHub Bot commented on FLINK-5097:
---------------------------------------
Github user greghogan commented on the issue:
https://github.com/apache/flink/pull/2842
@vasia should `Graph` be using the function specific
`TypeExtractor.getMapReturnTypes` (not sure why this is plural) and similar
where core Functions are used?
For `Gelly` functions, I think you are right that this capability is
lacking, i.e. `NeighborsFunctionWithVertexValue` has three input types and
`TypeExtractor` only provides `getUnaryOperatorReturnType` and
`getBinaryOperatorReturnType`? It also looks like `TypeExtractor` expects a
specific though natural ordering (input types before output types).
@twalthr what do you recommend?
> The TypeExtractor is missing input type information in some Graph methods
> -------------------------------------------------------------------------
>
> Key: FLINK-5097
> URL: https://issues.apache.org/jira/browse/FLINK-5097
> Project: Flink
> Issue Type: Bug
> Components: Gelly
> Reporter: Vasia Kalavri
> Assignee: Vasia Kalavri
>
> The TypeExtractor is called without information about the input type in
> {{mapVertices}} and {{mapEdges}} although this information can be easily
> retrieved.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)