amogh-jahagirdar commented on code in PR #11131:
URL: https://github.com/apache/iceberg/pull/11131#discussion_r1815807981
##########
spark/v3.3/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestExpireSnapshotsProcedure.java:
##########
@@ -294,8 +294,8 @@ public void testExpireDeleteFiles() throws Exception {
"Should have 1 delete manifest", 1,
TestHelpers.deleteManifests(table).size());
Assert.assertEquals("Should have 1 delete file", 1,
TestHelpers.deleteFiles(table).size());
Path deleteManifestPath = new
Path(TestHelpers.deleteManifests(table).iterator().next().path());
- Path deleteFilePath =
- new
Path(String.valueOf(TestHelpers.deleteFiles(table).iterator().next().path()));
+ DeleteFile deleteFile = TestHelpers.deleteFiles(table).iterator().next();
+ Path deleteFilePath = new Path(String.valueOf(deleteFile.path()));
Review Comment:
These tests changed for the same reason mentioned
https://github.com/apache/iceberg/pull/11131#discussion_r1815720545
--
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]