HuangXingBo commented on a change in pull request #16611:
URL: https://github.com/apache/flink/pull/16611#discussion_r680829384
##########
File path: flink-python/pyflink/fn_execution/coder_impl_fast.pyx
##########
@@ -262,9 +263,10 @@ cdef class IterableCoderImpl(LengthPrefixBaseCoderImpl):
self._separated_with_end_message = separated_with_end_message
cpdef encode_to_stream(self, value, LengthPrefixOutputStream
output_stream):
- for item in value:
- self._field_coder.encode_to_stream(item, self._data_out_stream)
- self._write_data_to_output_stream(output_stream)
+ if value:
Review comment:
It is a hotfix for IterableCoderImpl when input value is a None after we
reconstructiing coders
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]