Skip to content

Commit 94138c8

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 30135 b: refs/heads/autosynth-asset c: dd6d7d7 h: refs/heads/master i: 30133: 9482927 30131: 21930bb 30127: 5723a3c
1 parent 7bc97e6 commit 94138c8

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
@@ -120,7 +120,7 @@ refs/heads/autosynth-vision: 20ee492a4f6a5cf37dce4142ffc372d7054c5ebd
120120
refs/heads/spanner: b01127f885b4611bf1852abb0ce481eeb7fcc131
121121
refs/tags/v0.68.0: 9cc799fcf68c82ab431d425fefa58ef615ce8e5b
122122
refs/tags/v0.69.0: 78f67a29e8b9c46ba01de566a2eae0fd1c03edea
123-
refs/heads/autosynth-asset: 5c16ac2686ea2c4f2a79f103ac21eca47731d4a4
123+
refs/heads/autosynth-asset: dd6d7d7b6bc23c580755c5c7fd8e23ce56c67f06
124124
refs/heads/autosynth-automl: 7fcabb1e54ca9ded6bec10f41590d29ece3a6367
125125
refs/heads/autosynth-bigquerydatatransfer: d88aa5aae5fd9d3c6d75bbab1a05162c6d4d948f
126126
refs/heads/autosynth-bigquerystorage: d2c53da3b012e38c662e4df0738042435f19365f

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