flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sihuazhou <...@git.apache.org>
Subject [GitHub] flink pull request #5732: [FLINK-9034] [FLINK-9035] [core] Fix state descrip...
Date Wed, 21 Mar 2018 04:47:21 GMT
Github user sihuazhou commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5732#discussion_r175983599
  
    --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/StateDescriptor.java
---
    @@ -77,18 +80,22 @@
     
     	/** The serializer for the type. May be eagerly initialized in the constructor,
     	 * or lazily once the type is serialized or an ExecutionConfig is provided. */
    +	@Nullable
     	protected TypeSerializer<T> serializer;
     
    +	/** The type information describing the value type. Only used to lazily create the serializer
    +	 * and dropped during serialization */
    +	@Nullable
    --- End diff --
    
    nit:Type information will not dropped during serialization now, it dropped in `initializeSerializerUnlessSet()`.


---

Mime
View raw message