>  keep in mind that T is not guaranteed to be Serializable, so 
> SerializableCoder may not even work here

I had been assuming that T would have to implement `Serializable`.

I could add a FailureCoder, which I expect would be similar to `KvCoder`. But 
there's no default coder for `Exception`, so I need to figure out what to do 
there. It may be possible to use `AvroCoder` since `Exception` has a default 
constructor, but I'm not sure if that would fail for subclasses that don't have 
default constructors.

[ Full content available at: https://github.com/apache/beam/pull/6586 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to