Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
Description
JsonToRow supports only strict schema matching, so it expects all the fields that are declared by the schema to be present in the input JSON data. If the field is missing, it crashes. In practice it is useful to default to null is such cases. We should make it configurable in Beam Java SDK at least, and probably in Beam SQL (in Pubsub Json TableProvider) as well.