Details
-
Bug
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
-
None
Description
writeRowsHelper method in the BigQuery FakeJobService class should take the data type of the field into consideration. For example, if a TableRow contains a RECORD field, it should be converted to an Avro GenericRecord first. Failing to do this results in a misleading null pointer exception thrown from the org.apache.beam.sdk.io.FileSystems.delete method even though the actual root cause for the failure is an Avro exception caused by the field type mismatch.