-
Notifications
You must be signed in to change notification settings - Fork 439
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
[CH] GraceHashJoin
is easy to cause OOM
#8003
Comments
We track the memory usage of hash table in the join
The total memory limit is 1.5G, and there are multiple joins in the plan. |
This could extend to more cases
The fixed bytes limit cannot let join spill appropriately in all of these cases. By the way, aggregation spills adaptively at present. |
Reimpleting a |
Backend
CH (ClickHouse)
Bug description
There is a problem in controlling the memory usage of
grace hash join
. It uses a fixed bytes limit. This cannot trigger the spill of hash table adaptively.Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
No response
The text was updated successfully, but these errors were encountered: