-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
where .. in (select ) by index does not work anymore in some cases that worked before #20457
Labels
Comments
Introduced in #19007. |
@KochetovNicolai, can you take a look, please? Regression was beetween e2a2ab6 and b03f28f commits. |
With build from e2a2ab6. SELECT version()
┌─version()───┐
│ 21.1.1.5664 │
└─────────────┘
SELECT count(*) FROM temp WHERE (casino, game, round) NOT IN ( SELECT casino, game, round FROM t WHERE (casino, game, round) IN ( SELECT casino, game, round FROM temp ))
Query id: dd18adcd-5729-459f-8781-a4a389201a8d
┌─count()─┐
│ 3 │
└─────────┘
1 rows in set. Elapsed: 0.213 sec. Processed 5.00 thousand rows, 225.89 KB (23.48 thousand rows/s., 1.06 MB/s.) |
With build from b03f28f. SELECT version()
┌─version()───┐
│ 21.1.1.5668 │
└─────────────┘
1 rows in set. Elapsed: 0.002 sec.
SELECT count(*) FROM temp WHERE (casino, game, round) NOT IN ( SELECT casino, game, round FROM t WHERE (casino, game, round) IN ( SELECT casino, game, round FROM temp ))
┌─count()─┐
│ 3 │
└─────────┘
1 rows in set. Elapsed: 6.147 sec. Processed 5.00 thousand rows, 225.89 KB (813.44 rows/s., 36.75 KB/s.) |
Interesting, that a trick with
Though, maybe I misunderstand and it's another case because it's working with
|
Since it affects IN (select ... ) - may be it also related to #20558 ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: