dianfu commented on a change in pull request #11374: [FLINK-16524][python]
Optimize the result of FlattenRowCoder and ArrowCoder to generator to eliminate
unnecessary function calls
URL: https://github.com/apache/flink/pull/11374#discussion_r392020113
##########
File path: flink-python/pyflink/fn_execution/coders.py
##########
@@ -414,6 +415,25 @@ def __repr__(self):
return 'ArrowCoder[%s]' % self._schema
+class CustomLengthPrefixCoder(LengthPrefixCoder):
+ """
+ CustomLengthPrefixCoder will replace LengthPrefixCoder in Beam for
performance optimization.
Review comment:
Update the comment as following?
`
Coder which doesn't prefix the length of the encoded object as the length
prefix will be handled by the wrapped value coder.
`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services