anoopj commented on code in PR #18598:
URL: https://github.com/apache/iceberg/pull/18598#discussion_r4519852152


##########
core/src/test/java/org/apache/iceberg/TestTrackedFileAdapters.java:
##########
@@ -646,10 +654,12 @@ void unknownSpecIdThrows() {
 
   @Test
   void dataTrackedFileAdapterFromDataFile() {
-    TrackedFile result = 
TrackedFileAdapters.forDataFile(TABLE_SCHEMA).wrap(DATA_FILE);
+    DataFile file = Mockito.spy(DATA_FILE);
+    when(file.tightStats()).thenReturn(true);

Review Comment:
   We are trying to to exercise the `wrap(DataFile)` direction forwarding a 
non-default value. We haven't wired `tightStats` support to `BaseFile` yet. I 
have reverted the test change. 



-- 
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]

Reply via email to