Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7506

Fake BigQuery JobService does not correctly handle nested fields

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • io-java-gcp
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            charithke Charith Ellawala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: