JsonToProtoMessage.fillField can not handle null values #1258
Labels
api: bigquerystorage
Issues related to the googleapis/java-bigquerystorage API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
JsonStreamWriter.append() fails when adding a JSONArray in which some fields are null because JsonToProtoMessage.fillField() does not handle null values returned by java.lang.Object val = json.get(exactJsonKeyName); (line 135).
null values should be supported because the Schema used to create the JsonStreamWriter could contain fields with a NULLABLE mode.
The text was updated successfully, but these errors were encountered: