QuakeWang opened a new pull request, #8055:
URL: https://github.com/apache/paimon/pull/8055

   ### Purpose
   
   Daft Paimon filter conversion previously treated each filter expression as 
all-or-nothing. For an expression like `A AND unsupported(B)`, the supported 
conjunct `A` was not pushed to Paimon, so it could not participate in scan 
planning or file skipping.
   
   This PR flattens only `AND` conjuncts in the Daft adapter layer and converts 
each conjunct independently. Supported conjuncts are combined into a Paimon 
`AND` predicate, while unsupported conjuncts remain as Daft post-scan filters. 
`OR` expressions are still pushed only when the whole `OR` is supported.
   
   ### Tests
   
   - `python3 -m pytest paimon-python/pypaimon/tests/daft/daft_data_test.py 
paimon-python/pypaimon/tests/daft/daft_explain_test.py -q`


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

Reply via email to