Hi, > I think we can get the serializer directly in InitContextImpl through `getOperatorConfig().getTypeSerializerIn(0, getUserCodeClassloader()).duplicate()`.
This should work, yes. +1 to the updated FLIP so far. Thank you, Joao, for being on top of this! Thanks, Gordon On Tue, May 30, 2023 at 12:34 AM João Boto <eskabe...@apache.org> wrote: > Hi Lijie, > > I left the two options to use whatever you want, but I can clean the FLIP > to have only one.. > > Updated the FLIP > > Regards > > On 2023/05/23 07:23:45 Lijie Wang wrote: > > Hi Joao, > > > > I noticed the FLIP currently contains the following 2 methods about type > > serializer: > > > > (1) <IN> TypeSerializer<IN> createInputSerializer(); > > (2) <IN> TypeSerializer<IN> createSerializer(TypeInformation<IN> inType); > > > > Is the method (2) still needed now? > > > > Best, > > Lijie > > > > João Boto <eskabe...@apache.org> 于2023年5月19日周五 16:53写道: > > > > > Updated the FLIP to use this option. > > > > > >