[ 
https://issues.apache.org/jira/browse/BEAM-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365809#comment-17365809
 ] 

Chamikara Madhusanka Jayalath commented on BEAM-7345:
-----------------------------------------------------

Agree that a hard failure is better here. This is also a common use-case for 
x-lang since arbitrary types between SDKs will be usually sent as Rows. This 
issue could result in incorrect values silently being set in fields/element 
types that use generics.

> Add support for generics in schema inference
> --------------------------------------------
>
>                 Key: BEAM-7345
>                 URL: https://issues.apache.org/jira/browse/BEAM-7345
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core
>            Reporter: Brian Hulette
>            Priority: P3
>              Labels: Clarified
>
> 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.



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

Reply via email to