robertwb commented on code in PR #33382:
URL: https://github.com/apache/beam/pull/33382#discussion_r1888858631


##########
sdks/python/apache_beam/coders/coder_impl.py:
##########
@@ -1421,6 +1421,37 @@ def estimate_size(self, value, nested=False):
     return size
 
 
+class _OrderedUnionCoderImpl(StreamCoderImpl):
+  def __init__(self, coder_impl_types, fallback_coder_impl):
+    assert len(coder_impl_types) < 128

Review Comment:
   At first I was thinking about avoiding any sign issues, but also this leaves 
headroom for expanding the protocol in the future. 



-- 
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]

Reply via email to