Skip to content

Commit

Permalink
Fix table name
Browse files Browse the repository at this point in the history
  • Loading branch information
Praful Makani committed Apr 8, 2019
1 parent 9105b39 commit 324f994
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,8 @@ public void testListPartitions() {
.setTimePartitioning(timePartitioning)
.build();
TableInfo tableInfo = TableInfo.of(TableId.of(DATASET, tableName), tableDefinition);
Table createdPartitioningTable = bigquery.create(tableInfo);
assertNotNull(createdPartitioningTable);
Table partitionedTable = bigquery.create(tableInfo);
assertNotNull(partitionedTable);
try {
Map<String, Object> row = new HashMap<String, Object>();
row.put("StringField", "StringValue");
Expand All @@ -669,7 +669,7 @@ public void testListPartitions() {
List<String> partitions = bigquery.listPartitions(TableId.of(DATASET, tableName));
assertEquals(1, partitions.size());
} finally {
createdPartitioningTable.delete();
partitionedTable.delete();
}
}

Expand Down

0 comments on commit 324f994

Please sign in to comment.