Open mingmxu opened 3 months ago
We will support it
Could you give us more details about your usage scenario? for example, in your scenario, how big is the intermediate result produced by CTE? @mingmxu
Could you give us more details about your usage scenario? for example, in your scenario, how big is the intermediate result produced by CTE? @mingmxu
Can you ping me on slack? I can generate a query profile for details
supported in https://github.com/StarRocks/starrocks/pull/47982
Feature request
Is your feature request related to a problem? Please describe. Without spilling support in CTE , it becomes a double-edged sword. When it’s turned on, it might use lots of memory; however when it’s turned off, some queries might fail without the temporal result cache.
Describe the solution you'd like Support spilling_to_disk in CTE to limit the memory usage, by offloading/reloading extra data to disk;
Describe alternatives you've considered
Additional context