Skip to content

Commit 698df8b

Browse files
ci failure fixed
1 parent 793a4b5 commit 698df8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

presto-product-tests/src/main/java/com/facebook/presto/tests/hive/TestHiveBasicTableStatistics.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,7 @@ public void testInsertBucketedPartitioned()
333333
assertThat(secondPartitionStatistics.getNumRows().getAsLong()).isEqualTo(5);
334334
assertThat(secondPartitionStatistics.getNumFiles().getAsLong()).isEqualTo(10);
335335

336-
// Insert into existing bucketed partition is not supported
337-
assertThatThrownBy(() -> insertNationData(onPresto(), tableName))
338-
.hasMessageContaining("Cannot insert into existing partition of bucketed Hive table");
336+
insertNationData(onPresto(), tableName);
339337

340338
BasicStatistics secondPartitionUpdatedStatistics = getBasicStatisticsForPartition(onHive(), tableName, "n_regionkey=2");
341339
assertThat(secondPartitionUpdatedStatistics.getNumRows().getAsLong()).isEqualTo(5);

0 commit comments

Comments
 (0)