flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gyfora <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3046] Integrate the Either Java type wi...
Date Thu, 26 Nov 2015 10:22:57 GMT
Github user gyfora commented on the pull request:

    https://github.com/apache/flink/pull/1393#issuecomment-159869432
  
    Maybe I am not aware of the limitations but things like this dont seem to work:
    
    TypeExtractor.getForObject(Either.<String, Long> left(""));
    
    source.map(new MapFunction<Long, Either<Long, String>>() {
    			@Override
    			public Either<Long, String> map(Long value) throws Exception {
    				return null;
    			}
    		});


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message