Github user twalthr commented on the issue:

    https://github.com/apache/flink/pull/2842
  
    @vasia You are right. The `TypeExtractor` doesn't support functions with 
more than 2 inputs. That has never been required so far as the runtime 
operators always have two inputs. You could open an issue for that if this 
feature makes sense.
    
    `TypeExtractor.getMapReturnTypes` has support for Java 8 lambdas and checks 
for the `ResultTypeQueryable` interface first, so I would use the more specific 
`getXXXReturnTypes` (the plural has historic reasons) method if possible and 
the generic `createTypeInfo` method otherwise. Just make sure that you don't 
set the `allowMissing` flag otherwise you might get a `MissingTypeInfo` back.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to