flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggevay <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3519] [core] Add warning about subclass...
Date Sat, 12 Mar 2016 13:42:27 GMT
Github user ggevay commented on the pull request:

    > What kind of exception do you get?
    This is the code near TypeExtractor.java:1379, from where the exception is thrown:
    		// check for subclasses of Tuple
    		if (Tuple.class.isAssignableFrom(clazz)) {
    			if(clazz == Tuple0.class) {
    				return new TupleTypeInfo(Tuple0.class);
    			throw new InvalidTypesException("Type information extraction for tuples (except Tuple0)
cannot be done based on the class.");
    > Also, subclasses of tuples that do not have additional fields can need not be Pojos
(even though Tuples by themselves should actually meet the Pojo rules)
    OK, I've updated the comment.

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.

View raw message