Fokko opened a new pull request, #6141:
URL: https://github.com/apache/iceberg/pull/6141
Currently, we silently turn Literals into None if we can't convert them,
instead I prefer to raise an exception. This can cause silent bugs like:
`EqualTo(Reference("id"), StringLiteral("123a"))` will turn into a `IsNull`
predicate since `123a` cannot be casted to a `Long` (assuming that the `id`
column is a Long). This PR also adds support of casting a `StringLiteral` to a
`LongLiteral`.
Blocked on https://github.com/apache/iceberg/pull/6140
--
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]