tprelle commented on a change in pull request #3242:
URL: https://github.com/apache/iceberg/pull/3242#discussion_r731886725



##########
File path: 
mr/src/main/java/org/apache/iceberg/mr/mapred/MapredIcebergInputFormat.java
##########
@@ -66,6 +67,13 @@ public MapredIcebergInputFormat() {
 
   @Override
   public InputSplit[] getSplits(JobConf job, int numSplits) throws IOException 
{
+    TezUtil.ensureInMemoryDataModel(job);
+    TezUtil.ensureSkipResidualFiltering(job);
+    return getSplitsUncheck(job);
+  }
+
+  // For testing
+  public InputSplit[] getSplitsUncheck(JobConf job) throws IOException {

Review comment:
       Hi @pvary,
   I'm not able to add VisibleForTesting because i need to override the 
function. And the test classe it's in other package.
   Do you have an another idea ?




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