jackye1995 opened a new pull request #3210:
URL: https://github.com/apache/iceberg/pull/3210


   This is related to adding MoR delete reader in Trino: 
https://github.com/trinodb/trino/pull/8534, and any potential future support 
for Presto and Trino.
   
   Currently there is no way to serialize `FileScanTask` without using Java or 
Kryo serialization. But Presto and Trino uses Jackson for all serializations. 
This PR adds some util methods to make sure we can reconstruct a `FileScanTask` 
object.
   
   The biggest usage, as the linked PR suggests, is for the `DeleteFilter` that 
has constructor `DeleteFilter(FileScanTask task, Schema tableSchema, Schema 
requestedSchema)`. It would be a lot of code duplication for Trino to add 
another delete filter implementation, but on the other side there is no way for 
Trino to use the Iceberg delete filter if it cannot reconstruct the file scan 
task and associated delete and data files.
   
   @losipiuk @electrum @findepi @rdblue @ChunxuTang
   
   


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