the-other-tim-brown commented on code in PR #1012:
URL: https://github.com/apache/incubator-xtable/pull/1012#discussion_r4636759556


##########
xtable-core/src/test/java/org/apache/xtable/iceberg/TestIcebergConversionSource.java:
##########
@@ -259,6 +277,76 @@ void testGetCurrentSnapshotForEmptyTable(@TempDir Path 
workingDir) throws IOExce
     verify(spyDataFileExtractor, never()).fromIceberg(any(), any(), any());
   }
 
+  @Test
+  void testSyncToDeltaWithMissingColumnStats(@TempDir Path workingDir) throws 
IOException {

Review Comment:
   I prefer that we break down this test into two. One for unit testing the 
missing stats in this file and then the delta handling of the state should be 
in a Delta test class. 
   
   The idea here is that we keep each format unaware of the others and instead 
all transformation goes through our intermediate representation. This will also 
help when we eventually reorganize the module structure so each format does not 
need the others on the classpath to run the XTable sync.



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

Reply via email to