Add support for generics in schema inference
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Currently schema inference doesn't work for getters that return a parameterized type. Fixing this would most likely involve plumbing TypeDescriptor through FieldValueTypeSupplier, FieldValueTypeInformation, StaticSchemaInference, etc.. rather than Class.
Imported from Jira [BEAM-7345](https://issues.apache.org/jira/browse/BEAM-7345). Original Jira may contain additional context.
Reported by: bhulette.
Subtask of issue #18898
Contributor guide
Research direction
Read the linked Jira issue for additional context, then trace TypeDescriptor through FieldValueTypeSupplier, FieldValueTypeInformation, and StaticSchemaInference. Verify that schema inference works for getters returning parameterized types, while checking the parent issue for related scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100