Skip to content

Commit fbe1981

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 26983 b: refs/heads/autosynth-compute c: dd6d7d7 h: refs/heads/master i: 26981: 1dc6438 26979: 8dcf667 26975: 32dc2e5
1 parent a5fff88 commit fbe1981

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ refs/tags/v0.64.0: 456e8fbd129deced3ca025f239a2d8a82bde1d0a
111111
refs/tags/v0.65.0: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
112112
refs/tags/v0.66.0: ed6a3f57cbdaa20339a1995f7d7d53b172a5b8ef
113113
refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
114-
refs/heads/autosynth-compute: 5c16ac2686ea2c4f2a79f103ac21eca47731d4a4
114+
refs/heads/autosynth-compute: dd6d7d7b6bc23c580755c5c7fd8e23ce56c67f06
115115
refs/heads/autosynth-container: d17e1a76a903f9e05eba56a9bf5d12c1b15b67d7
116116
refs/heads/autosynth-monitoring: e66569bd7358a90d17097f90cf8c70dbeeb048cf
117117
refs/heads/autosynth-pubsub: 39d0c11469a8084ece7c1ff58809f24da0316ae6

branches/autosynth-compute/google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets/BigQuerySnippets.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ public long writeFileToTable(String datasetName, String tableName, Path csvPath,
383383
// Write data to writer
384384
try (OutputStream stream = Channels.newOutputStream(writer)) {
385385
Files.copy(csvPath, stream);
386+
} finally {
387+
writer.close();
386388
}
387389
// Get load job
388390
Job job = writer.getJob();

0 commit comments

Comments
 (0)