kevinjqliu commented on issue #3496:
URL: 
https://github.com/apache/iceberg-python/issues/3496#issuecomment-4699448374

   Verified against the current worktree.
   
   ```text
   StartsWith("x", "a") on identity partition "aa" -> AlwaysTrue()
   NotStartsWith("x", "a") on identity partition "aa" -> AlwaysFalse()
   NotStartsWith("x", "a") on identity partition "bb" -> AlwaysFalse()  # 
expected AlwaysTrue()
   ```
   
   Root cause is `ResidualVisitor.visit_not_starts_with`: it applies Python 
`not` to an `AlwaysTrue()` / `AlwaysFalse()` expression object, and both 
objects are truthy.


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