Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/1134#discussion_r39725082 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/typeinfo/IntegerTypeInfo.java --- @@ -18,15 +18,33 @@ package org.apache.flink.api.common.typeinfo; +import com.google.common.base.Preconditions; +import com.google.common.collect.Sets; import org.apache.flink.api.common.typeutils.TypeComparator; import org.apache.flink.api.common.typeutils.TypeSerializer; +import java.util.Set; + /** - * Type information for numeric primitive types (int, long, double, byte, ...). + * Type information for numeric integer primitive types: int, long, byte, short, boolean, character. */ public class IntegerTypeInfo<T> extends NumericTypeInfo<T> { + private static final long serialVersionUID = -8068827354966766955L; + + private static final Set<Class<?>> integerTypes = Sets.<Class<?>>newHashSet( + Integer.class, + Long.class, + Byte.class, + Short.class, + Boolean.class, --- End diff -- Nope, I missed that. Will remove it.
--- 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. ---