Support non-homogenous nested types in SchemaProvider implementations
Open
core
improvement
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
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
Imported from Jira [BEAM-10765](https://issues.apache.org/jira/browse/BEAM-10765). Original Jira may contain additional context.
Reported by: bhulette.
Contributor guide
Assessment
This issue has not been assessed yet.