Unfortunately the get.or method won't work here, since it's type signature 
can't handle functions that throw exceptions (such as 
CannotProvideCoderExceptions).

As to the second, I don't think the registry is available at that time the 
combiner is built up. The registry is generally not available until later in 
pipeline construction, and the Combiner signature doesn't give it to us until 
getAccumulatorCoder is called.

[ Full content available at: https://github.com/apache/beam/pull/6318 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to