Skip to content
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

Ignore non-convertible values at any depth on the right side of the IN operator #7283

Merged
merged 1 commit into from Oct 14, 2019

Conversation

akuzm
Copy link
Contributor

@akuzm akuzm commented Oct 11, 2019

The values that are not convertible to the left argument type can't match anyway, so it is safe to discard them. We already do this for simple types, and this PR properly extends it to complex types: Array and Tuple.

Category (leave one):

  • Improvement

Short description (up to few sentences):
ClickHouse ignores values on the right side of IN operator that are not convertible to the left side type. Make it work properly for compound types -- Array and Tuple.

@akuzm akuzm added the pr-improvement Pull request with some product improvements label Oct 11, 2019
@alexey-milovidov
Copy link
Member

Please update the tests.

operator.

The values that are not convertible to the left argument type can't
match anyway, so it is safe to discard them.
@akuzm akuzm merged commit 831fb2c into master Oct 14, 2019
@akuzm akuzm deleted the aku/in-unconvertible branch December 9, 2019 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants