Skip to content

Commit

Permalink
Remove allowUnknownFields parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronicaWasson committed Dec 30, 2020
1 parent e7fdf57 commit f1a301a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -69,7 +69,7 @@ public static void writeCommittedStream(String projectId, String datasetName, St
JSONArray jsonArr = new JSONArray();
jsonArr.put(record);

ApiFuture<AppendRowsResponse> future = writer.append(jsonArr, i, false);
ApiFuture<AppendRowsResponse> future = writer.append(jsonArr, i);
AppendRowsResponse response = future.get();
}

Expand Down Expand Up @@ -106,7 +106,7 @@ public static void writeToDefaultStream(String projectId, String datasetName, St
JSONArray jsonArr = new JSONArray();
jsonArr.put(record);

ApiFuture<AppendRowsResponse> future = writer.append(jsonArr, false);
ApiFuture<AppendRowsResponse> future = writer.append(jsonArr);
AppendRowsResponse response = future.get();
}
} catch (Exception e) {
Expand Down
Expand Up @@ -57,7 +57,7 @@ public static void writePendingStream(String projectId, String datasetName, Stri
JSONArray jsonArr = new JSONArray();
jsonArr.put(record);

ApiFuture<AppendRowsResponse> future = writer.append(jsonArr, false);
ApiFuture<AppendRowsResponse> future = writer.append(jsonArr);
AppendRowsResponse response = future.get();
}
FinalizeWriteStreamResponse finalizeResponse =
Expand Down

0 comments on commit f1a301a

Please sign in to comment.