+|Default| Before V1.3.6: 1048576 (equivalent to 1MB);<br> From V1.3.6 onwards (including all V1.x versions): 0.The memory rule for external sort in the sort operator is as follows: When the data size is smaller than the sort buffer size (sort_buffer_size_in_bytes, in bytes), the sort operator will use in-memory sort. If sort_buffer_size_in_bytes ≤ 0, the default value is used. The default value is calculated as the minimum of 32MB and (memory for query operators / query_thread_count / 2). If sort_buffer_size_in_bytes > 0, the specified value is used. |
0 commit comments