Commit a114840
## Which issue does this PR close?
- Closes apache#20389.
## Rationale for this change
If both `--memory-limit` or `--mem-pool-type` configs are not set in
`datafusion-cli` command, `unbounded` memory pool is being used and so
`unbounded` memory pool is not tracked pool so `--top-memory-consumers >
0` is valid as long as one of the runtime configs: memory_limit or
memory_pool is set by using `greedy` or `fair` memory pool (which can be
tracked by `TrackConsumersPool`) so this doc can be useful for the
end-user to use either `greedy` or `fair` memory pool when
`--top-memory-consumers > 0 `.
## What changes are included in this PR?
Updating `datafusion-cli` doc for `top-memory-consumers` config.
## Are these changes tested?
N/A due to updating the `datafusion-cli` doc.
## Are there any user-facing changes?
Yes, updating `datafusion-cli` doc.
Co-authored-by: Jonah Gao <jonahgao@msn.com>
1 parent 3b028fe commit a114840
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments