RussellSpitzer commented on PR #18629: URL: https://github.com/apache/iceberg/pull/18629#issuecomment-6643190130
I'm not sure I like the old classes absorbing the functionality from the new ValueExpressions things. It seems to be leading to a lot of branching where the classes have to behave differently based on their state and is going to push some errors into runtime that would otherwise be obvious. I think it may make sense to have a parallel set of classes (UnboundValuePredicate and BoundValuePredicate) which represent the new hierarchy and live in parallel to the legacy classes (BoundSet, BoundLieteral, BoundUnary). <img width="1171" height="869" alt="image" src="https://github.com/user-attachments/assets/89fc9f49-c4c6-4b7f-977d-5458138c889f" /> We could still expose Left(), right() in the older classes maybe through a shared interface? I'm doing some prototyping to see what the damage actually is in this approach -- 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]
