Hi KristoffSC, As far as I know, there is no simple API to let you directly use the LocalTimeTypeInfo for LocalDataTime in your POJO class. (maybe other guys know)
If the serializer/deserializer of LocalDataTime is very critical for you there might be two methods. 1. Using the StreamExecutionEnvironment::registerTypeWithKryoSerializer to register your own serializer/deserializer for the LocalDataTime.class 2. Register a new TypeInfoFactory for your Pojo. [1] This could reuse the LocalTimeTypeInfo. [1] https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/types_serialization.html#defining-type-information-using-a-factory Best, Guowei KristoffSC <krzysiek.chmielew...@gmail.com> 于2020年3月5日周四 下午10:58写道: > Thanks, > do you have any example how I could use it? > > Basically I have a POJO class that has LocalDateTime filed in it. > > > > -- > Sent from: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ >