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

Open
2 of 3 tasks
Jianing-Xu opened this issue Nov 20, 2024 · 0 comments
Open
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 · 0 comments

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

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

1 participant