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

BigQueryIO.write() should better verify user schemas

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 2.3.0
    • io-java-gcp
    • None

    Description

      BigQueryIO.write() currently misses the following schema-related validations which can lead to confusing errors:

      • withSchemaFromView() doesn't check that the passed view is not null
      • When using withSchemaFromView(), there's no run-time check that the view actually contains the TableDestination referenced by the tableFn - instead it may issue a load job with no schema

      There might be more validations missing.

      Attachments

        Issue Links

          Activity

            People

              jkff Eugene Kirpichov
              jkff Eugene Kirpichov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: