Alireza Samadianzakaria created BEAM-7729:
---------------------------------------------

             Summary: Converting Nullable null values in BigQuery 
                 Key: BEAM-7729
                 URL: https://issues.apache.org/jira/browse/BEAM-7729
             Project: Beam
          Issue Type: Bug
          Components: io-java-gcp
            Reporter: Alireza Samadianzakaria
            Assignee: Alireza Samadianzakaria


In org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils#convertAvroFormat we do 
not check if the value is null and we pass it to the other methods and if that 
value is null, we will get a null pointer exception. The fix will be simple, 
just check if the value is null and if the field is nullable, then return null 
in that case.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to