ahshahid commented on issue #6424:
URL: https://github.com/apache/iceberg/issues/6424#issuecomment-1352040671

   @RussellSpitzer : 
   apologies for bugging , I was hoping one more clarification on this aspect:
   long splitOffset = (file().splitOffsets() != null) ? 
file().splitOffsets().get(0) : 0L;
    double scannedFileFraction = ((double) length()) / 
(file().fileSizeInBytes() - splitOffset);
    return (long) (scannedFileFraction * file().recordCount());
   
   Given that  file.recordCount() corresponds to file().fileSizeInBytes()
   and length() is the length of the split ( if my understanding is correct)
   then the subtraction of splitOffset is not needed as per my understanding...
   why is splitOffset being subtracted from fileSize...
   
   


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