szehon-ho opened a new issue, #6925:
URL: https://github.com/apache/iceberg/issues/6925

   ### Feature Request / Improvement
   
   The position deletes table has several constant (derived) columns such as 
"spec_id", "delete_file_path", "partition".  It would be great to pushdown 
filters on these columns and prune earlier.  While the partition is already 
handled separately given its complexity, it would be great to implement 
filtering for these other ones (spec_id and delete_file_path).
   
   The relevant code is here:  
https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/PositionDeletesTable.java#L237
   It should be a matter of implementing a ExpressionVisitor and evaluating 
whether the delete file matches the filter on derived column.  Some examples 
are:  MetricsEvalVisitor or SnapshotEvalVisitor
   
   ### Query engine
   
   Spark


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