Anurag-S1ngh commented on issue #19075:
URL: https://github.com/apache/iceberg/issues/19075#issuecomment-7079318178

   For the range case, one `UnboundPredicate` cannot carry the wrapped 
partition, so the projection has to become compound. I would add an 
`Expression`-returning default method on `Transform` that delegates to the 
existing `project` / `projectStrict`, and have `Projections` and 
`ResidualEvaluator` use it. Truncate can then return `x_trunc <= -1000 OR 
x_trunc == 2147483296` for `LT` / `LT_EQ`.
   
   For strict `GT` / `GT_EQ`, I would return no strict projection when the 
wrapped partition is reachable, rather than `AND x_trunc != 2147483296`. That 
is what apache/iceberg-python#4407 already does, and it leaves the residual 
evaluator on the original predicate.
   
   I can take this once the approach is agreed. Could a committer assign it to 
me?
   


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