-
Notifications
You must be signed in to change notification settings - Fork 811
feat(query): support result set spilling #18679
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
base: main
Are you sure you want to change the base?
Conversation
5ba34d9
to
0242a0a
Compare
4bdaeac
to
8e38064
Compare
please update the code synchronization #18709 This PR solves the CI test_private_tasks error |
In this PR, the sender writes the spilled page into a file, which the receiver then restores. However, this logic is not very reasonable because the size of the page depends on the transmission layer, which does not necessarily correspond to the spilling mode. In the follow-up, a new spill unit called a "chunk" can be introduced. The sender writes the chunks, which then generates a page from it. |
Docker Image for PR
|
Will do some test on prod this weekend. |
Docker Image for PR
|
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
enable_result_set_spilling
, which is turned off by default and is fully compatible with the previous behavior.result_set_spilling_to_disk_bytes_limit
to support spilling result set data to local disk.Tests
Type of change
This change is