rdblue commented on code in PR #17928:
URL: https://github.com/apache/iceberg/pull/17928#discussion_r3928935329
##########
core/src/test/java/org/apache/iceberg/TestTrackedFileAdapters.java:
##########
@@ -346,6 +336,14 @@ void dvDeleteFileAdapterRejectsNullDeletionVector() {
.hasMessage("Cannot create DV delete file: no deletion vector");
}
+ @Test
+ void dataFileWithoutDeletionVectorReturnsNull() {
+ DataFile dataFile =
+ TrackedFileAdapters.asDataFile(dummyTrackedFile(FileContent.DATA),
UNPARTITIONED);
Review Comment:
It is not obvious that this tracked file doesn't have a DV. I think this
should specifically create a TrackedFile without a DV so it is clear.
--
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]