nastra commented on code in PR #9849:
URL: https://github.com/apache/iceberg/pull/9849#discussion_r1511226566
##########
core/src/test/java/org/apache/iceberg/TestMetadataTableScansWithPartitionEvolution.java:
##########
@@ -239,15 +234,15 @@ public void testPartitionSpecEvolutionToUnpartitioned()
throws IOException {
PartitionsTable partitionsTable = new PartitionsTable(table);
// must contain the partition column even when the current spec is
non-partitioned.
-
Assertions.assertThat(partitionsTable.schema().findField("partition")).isNotNull();
+ assertThat(partitionsTable.schema().findField("partition")).isNotNull();
try (CloseableIterable<ManifestEntry<?>> entries =
PartitionsTable.planEntries((StaticTableScan)
partitionsTable.newScan())) {
// four partitioned data files and one non-partitioned data file.
- Assertions.assertThat(entries).hasSize(5);
+ assertThat(entries).hasSize(5);
// check for null partition value.
- Assertions.assertThat(StreamSupport.stream(entries.spliterator(), false))
+ assertThat(StreamSupport.stream(entries.spliterator(), false))
Review Comment:
can this be done without using `StreamSupport`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]