ajantha-bhat commented on code in PR #6695:
URL: https://github.com/apache/iceberg/pull/6695#discussion_r1090238665
##########
spark/v3.3/spark/src/test/java/org/apache/iceberg/spark/actions/TestRewriteManifestsAction.java:
##########
@@ -464,11 +473,16 @@ public void testRewriteManifestsWithPredicate() throws
IOException {
Assert.assertEquals("Should have 2 manifests after rewrite", 2,
newManifests.size());
Assert.assertFalse("First manifest must be rewritten",
newManifests.contains(manifests.get(0)));
+ Assert.assertFalse(
+ "Second manifest must be rewritten",
newManifests.contains(manifests.get(1)));
Assert.assertTrue(
- "Second manifest must not be rewritten",
newManifests.contains(manifests.get(1)));
+ "Third manifest must not be rewritten",
newManifests.contains(manifests.get(2)));
List<ThreeColumnRecord> expectedRecords = Lists.newArrayList();
- expectedRecords.addAll(records1);
+ expectedRecords.add(records1.get(0));
Review Comment:
sorted order insert
--
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]