This closes #3293: [BEAM-2406] Fix NullPointerException when writing an empty table
Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/09d75a0b Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/09d75a0b Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/09d75a0b Branch: refs/heads/master Commit: 09d75a0b0091fb14056e8d90b182af060623c293 Parents: 0cba43e 52df03a Author: Eugene Kirpichov <[email protected]> Authored: Mon Jun 5 10:00:09 2017 -0700 Committer: Eugene Kirpichov <[email protected]> Committed: Mon Jun 5 10:00:09 2017 -0700 ---------------------------------------------------------------------- .../beam/sdk/io/gcp/bigquery/BatchLoads.java | 1 + .../io/gcp/bigquery/WriteBundlesToFiles.java | 2 + .../sdk/io/gcp/bigquery/WritePartition.java | 7 ++- .../sdk/io/gcp/bigquery/BigQueryIOTest.java | 45 +++++++++++--------- 4 files changed, 32 insertions(+), 23 deletions(-) ----------------------------------------------------------------------
