Skip to content

Commit 2035f9a

Browse files
committed
chore: Fix typo to partitionType
1 parent 7bec9cd commit 2035f9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,12 +2626,12 @@ void testListTables() {
26262626
@Test
26272627
void testListTablesWithPartitioning() {
26282628
long expirationMs = 86400000L;
2629-
Type paritionType = Type.DAY;
2629+
Type partitionType = Type.DAY;
26302630
String tableName = "test_list_tables_partitioning";
26312631
StandardTableDefinition tableDefinition =
26322632
StandardTableDefinition.newBuilder()
26332633
.setSchema(TABLE_SCHEMA)
2634-
.setTimePartitioning(TimePartitioning.of(paritionType, expirationMs))
2634+
.setTimePartitioning(TimePartitioning.of(partitionType, expirationMs))
26352635
.build();
26362636
TableInfo tableInfo = TableInfo.of(TableId.of(DATASET, tableName), tableDefinition);
26372637
Table createdPartitioningTable = bigquery.create(tableInfo);
@@ -2654,7 +2654,7 @@ void testListTablesWithPartitioning() {
26542654
TimePartitioning timePartitioning = standardTableDefinition.getTimePartitioning();
26552655
assertNotNull(timePartitioning);
26562656
assertNotNull(timePartitioning.getExpirationMs());
2657-
if (timePartitioning.getType().equals(paritionType)
2657+
if (timePartitioning.getType().equals(partitionType)
26582658
&& timePartitioning.getExpirationMs().equals(expirationMs)) {
26592659
found = true;
26602660
break;

0 commit comments

Comments
 (0)