Skip to content

Commit d84d062

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 34169 b: refs/heads/autosynth-speech c: dd6d7d7 h: refs/heads/master i: 34167: 70ed3b8
1 parent 73c1545 commit d84d062

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
@@ -138,7 +138,7 @@ refs/heads/autosynth-os-login: 49028d40ac477fca5f948cc5a3ce7422729fdb67
138138
refs/heads/autosynth-redis: 2b698ebe7faaa0b93246576a88941682e0888e57
139139
refs/heads/autosynth-scheduler: a3de6480746d1cd586ca8b9d75c55a636f371539
140140
refs/heads/autosynth-spanner: d963fe4368e79cf6abae5d511785e8ced8ac57f4
141-
refs/heads/autosynth-speech: 5c16ac2686ea2c4f2a79f103ac21eca47731d4a4
141+
refs/heads/autosynth-speech: dd6d7d7b6bc23c580755c5c7fd8e23ce56c67f06
142142
refs/heads/autosynth-tasks: eb03eeab747e925175890db923945384d89b273a
143143
refs/heads/autosynth-texttospeech: 2c442fe0b7f089fbab266edfe4dd83c532e82dd0
144144
refs/heads/autosynth-trace: c94eef6e4d9c6fd24888216e28ca7271959c1cf0

branches/autosynth-speech/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)