I think it's somewhat common for T elements to not be serializable actually. The T coder you can get from the PCollection in expand; you will need to change the WithFailures input type to be PCollection<T> instead of PCollection<? extends InputT>. This still leave us with SerializableCoder for Exception, which is not ideal but I can't think of a better option.
[ Full content available at: https://github.com/apache/beam/pull/6586 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org