You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/08/19 20:32:00 UTC

[jira] [Created] (BEAM-10765) Support non-homogenous nested types in SchemaProvider implementations

Brian Hulette created BEAM-10765:
------------------------------------

             Summary: Support non-homogenous nested types in SchemaProvider implementations
                 Key: BEAM-10765
                 URL: https://issues.apache.org/jira/browse/BEAM-10765
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-core
            Reporter: Brian Hulette
            Assignee: Brian Hulette


Currently we can infer schemas for nested types, but only when they are homogenous (e.g. an AutoValue with an AutoValue field, or a Java Bean with a Java Bean field). 

We should also support schema inference for non-homogenous types, so that schemas can be inferred for an AutoValue field with a Java Bean field.

Not doing so can lead to confusing errors like the one reported in https://lists.apache.org/thread.html/rc7c45ff8efd425fe545b6020c5b4250c99f6c788bf32a114708187a1%40%3Cuser.beam.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)