You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Eugene Kirpichov (JIRA)" <ji...@apache.org> on 2017/11/02 19:55:00 UTC

[jira] [Created] (BEAM-3137) BigQueryIO.write() should better verify user schemas

Eugene Kirpichov created BEAM-3137:
--------------------------------------

             Summary: BigQueryIO.write() should better verify user schemas
                 Key: BEAM-3137
                 URL: https://issues.apache.org/jira/browse/BEAM-3137
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-gcp
            Reporter: Eugene Kirpichov
            Assignee: Reuven Lax


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)