Fokko commented on code in PR #1388:
URL: https://github.com/apache/iceberg-python/pull/1388#discussion_r1915102464


##########
pyiceberg/table/__init__.py:
##########
@@ -1522,8 +1555,9 @@ def plan_files(self) -> Iterable[FileScanTask]:
                     data_entry,
                     positional_delete_entries,
                 ),
+                residual=residual,

Review Comment:
   @tusharchou I don't really think this one through. Without any additional 
changes, this would look like:
   
   ```python
           return [
               FileScanTask(
                   data_entry.data_file,
                   delete_files=_match_deletes_to_data_file(
                       data_entry,
                       positional_delete_entries,
                   ),
                   
residual=residual_evaluators[data_entry.data_file.spec_id](data_entry.data_file).residual_for(
                       data_entry.data_file.partition
                   ),
               )
               for data_entry in data_entries
           ]
   ```
   
   Where we re-create the evaluator all the time



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to