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

[Bug] The result of the nested query with "NOT IN" is not correct #44340

Closed
2 of 3 tasks
Jianing-Xu opened this issue Nov 20, 2024 · 1 comment
Closed
2 of 3 tasks

[Bug] The result of the nested query with "NOT IN" is not correct #44340

Jianing-Xu opened this issue Nov 20, 2024 · 1 comment

Comments

@Jianing-Xu
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Version

doris-2.0.5-rc02

What's Wrong?

When the subquery returns a large amount of data (approximately 350,000), a nested query with "NOT IN" can lead to errors, while the statement with "IN" works correctly.

What You Expected?

The query statement using not in returns the correct result

How to Reproduce?

select count(*) from t1 where id not in (select t1id from t2);

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Jianing-Xu Jianing-Xu closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
@wwbbcjeyc
Copy link

老哥,你怎么关闭了这个问题。是找到问了嘛。我这表有个类似的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants