-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use safe cast in propagate_constraints #11297
Conversation
seems like an arrow-rs related problem, but we can use safe cast to avoid it temporarily |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Lordworms
I have one small suggestion for additional test coverage but I don't think it is required
query I | ||
select * from t0 where v0>1e100; | ||
---- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest a test that also shows the filter passing (I wasn't sure if the whole thing was turned into NULL). But I double checked and this query works on this branch:
query I | |
select * from t0 where v0<1e100; | |
---- | |
1 | |
2 | |
3 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add that
Thanks @Lordworms 🙏 |
* use safe cast in propagate_constraints * add test
Which issue does this PR close?
Closes #11252
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?