[ 
https://issues.apache.org/jira/browse/BEAM-14522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Balázs Németh updated BEAM-14522:
---------------------------------
    Fix Version/s: Not applicable
       Resolution: Won't Fix
           Status: Resolved  (was: Triage Needed)

> ProtoSchemaTranslator creates NOT NULL beam schema fields even for optional 
> proto fields
> ----------------------------------------------------------------------------------------
>
>                 Key: BEAM-14522
>                 URL: https://issues.apache.org/jira/browse/BEAM-14522
>             Project: Beam
>          Issue Type: Bug
>          Components: extensions-java-protobuf
>            Reporter: Balázs Németh
>            Priority: P2
>             Fix For: Not applicable
>
>
> ProtoSchemaTranslator is capable of creating Beam schemas 
> (org.apache.beam.sdk.schemas.Schema) from proto classes. The problem is that 
> the code that transforms the non-null 
> org.apache.beam.sdk.schemas.Schema.FieldType into a nullable one is at a 
> wrong place. Instead of doing it for every type for every field that is 
> optional at the proto class after the switch-case it is actually inside the 
> switch-case and only does it for MESSAGE and GROUP types.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to