You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2020/08/13 20:57:00 UTC

[beam] branch master updated: [BEAM-10648] Remove unused BigQuery queryTempDataset value

This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 72a9093  [BEAM-10648] Remove unused BigQuery queryTempDataset value
     new a6907c0  Merge pull request #12478 from regadas/bigquery_remove_unused
72a9093 is described below

commit 72a9093c882a7ad4508e3dafca144f23984f045c
Author: Filipe Regadas <fi...@gmail.com>
AuthorDate: Thu Aug 6 09:42:33 2020 +0100

    [BEAM-10648] Remove unused BigQuery queryTempDataset value
---
 .../src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
index 325f1ff..925496b 100644
--- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
+++ b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
@@ -984,8 +984,6 @@ public class BigQueryIO {
           // If the user provided a temp dataset, check if the dataset exists before launching the
           // query
           if (getQueryTempDataset() != null) {
-            Optional<String> queryTempDataset = Optional.ofNullable(getQueryTempDataset());
-
             // The temp table is only used for dataset and project id validation, not for table name
             // validation
             TableReference tempTable =