Skip to content

Commit 8c6c6cb

Browse files
ashutoshcppongad
authored andcommitted
---
yaml --- r: 8953 b: refs/heads/lesv-patch-1 c: 64aa5bb h: refs/heads/master i: 8951: ed919c1
1 parent 02338ef commit 8c6c6cb

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ refs/tags/v0.22.0: 18b298fe4bfe8ec2f20b0e0bf7ffdcce5cc3c5fe
6666
refs/heads/vam-google-patch-1: d0c8fee3a4074d0bf7360ce8c4f7f7223d0ee7b9
6767
refs/heads/vam-google-patch-CODEOWNERS: 2ac1616e25229e51d08a984708ef1918f91a35ee
6868
refs/heads/danoscarmike-patch-1: 7342a9916bce4ed00002c7202e2a16c5d46afaea
69-
refs/heads/lesv-patch-1: 599d0a754286d0c10ba39d03e220267ce5af31f3
69+
refs/heads/lesv-patch-1: 64aa5bb43601cb00cea27131d4561fa2b8144764
7070
refs/heads/ml-update-branch: 079dd6610017f5c51b9d1938c12d6d55b61513cf
7171
refs/heads/vkedia-patch-2: 7d8241388a9769a5c069334761b06c7012c878e7
7272
refs/heads/vkedia-patch-3: 4d128043acaa7db9160faf439d2ca6104e8a88cb

branches/lesv-patch-1/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/spi/v2/HttpBigQueryRpc.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,8 @@ public GetQueryResultsResponse getQueryResults(String projectId, String jobId,
398398
public String open(JobConfiguration configuration) {
399399
try {
400400
Job loadJob = new Job().setConfiguration(configuration);
401-
StringBuilder builder = new StringBuilder()
402-
.append(BASE_RESUMABLE_URI)
403-
.append(options.getProjectId())
404-
.append("/jobs");
405-
GenericUrl url = new GenericUrl(builder.toString());
401+
String builder = BASE_RESUMABLE_URI + options.getProjectId() + "/jobs";
402+
GenericUrl url = new GenericUrl(builder);
406403
url.set("uploadType", "resumable");
407404
JsonFactory jsonFactory = bigquery.getJsonFactory();
408405
HttpRequestFactory requestFactory = bigquery.getRequestFactory();

0 commit comments

Comments
 (0)