nastra commented on code in PR #9380:
URL: https://github.com/apache/iceberg/pull/9380#discussion_r1445292960
##########
spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/TestFilteredScan.java:
##########
@@ -314,7 +317,7 @@ public void testDayPartitionedTimestampFilters() {
Batch scan = builder.build().toBatch();
InputPartition[] tasks = scan.planInputPartitions();
- Assert.assertEquals("Should create one task for 2017-12-21", 1,
tasks.length);
+ assertThat(tasks).as("Should only create one task for
2017-12-21").hasSize(1);
Review Comment:
```suggestion
assertThat(tasks).as("Should create one task for
2017-12-21").hasSize(1);
```
--
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]