you give the TypeInformation to your user code but you don't expose it to the DataStream API (the code of the FlatMapFunction is a black box for the API).
You're FlatMapFunction should implement the ResultTypeQueryable interface and return the TypeInformation.
you give the TypeInformation to your user code but you don't expose it to the DataStream API (the code of the FlatMapFunction is a black box for the API).
You're FlatMapFunction should implement the ResultTypeQueryable interface and return the TypeInformation.