Skip to content

Commit

Permalink
Remove unintentional changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PhongChuong committed Sep 26, 2024
1 parent 4230a55 commit 688600b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,15 +312,13 @@ public Table getTable(
String projectId, String datasetId, String tableId, Map<Option, ?> options) {
try {
validateRPC();
Table ans =
bigquery
.tables()
.get(projectId, datasetId, tableId)
.setPrettyPrint(false)
.setFields(Option.FIELDS.getString(options))
.setView(getTableMetadataOption(options))
.execute();
return ans;
return bigquery
.tables()
.get(projectId, datasetId, tableId)
.setPrettyPrint(false)
.setFields(Option.FIELDS.getString(options))
.setView(getTableMetadataOption(options))
.execute();
} catch (IOException ex) {
BigQueryException serviceException = translate(ex);
if (serviceException.getCode() == HTTP_NOT_FOUND) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5421,7 +5421,7 @@ public void testCopyJobStatistics() throws InterruptedException, TimeoutExceptio
QueryJobConfiguration createTable =
QueryJobConfiguration.newBuilder(
String.format(
"CREATE TABLE %s AS SELECT num FROM UNNEST(GENERATE_ARRAY(0,5)) as num OPTIONS(max_staleness = INTERVAL 15 MINUTE);",
"CREATE TABLE %s AS SELECT num FROM UNNEST(GENERATE_ARRAY(0,5)) as num",
sourceTableName))
.setDefaultDataset(DatasetId.of(DATASET))
.setUseLegacySql(false)
Expand Down

0 comments on commit 688600b

Please sign in to comment.