zhuqi-lucas opened a new pull request, #14877: URL: https://github.com/apache/datafusion/pull/14877
## Which issue does this PR close? - Closes [14810](https://github.com/apache/datafusion/issues/14810) ## Rationale for this change Redesign the datafusion-cli execution and print, make it totally streaming printing without memory overhead. Almost no extra memory usage for datafusion-cli now after this PR. ## What changes are included in this PR? Redesign the datafusion-cli execution and print, make it totally streaming printing without memory overhead. Almost no extra memory usage for datafusion-cli now after this PR. 1. Change all datafusion-cli printing to streaming 2. Support preview the column width format printing, default is 1000 lines 3. Also support csv/json, etc format, max rows support which not supporting before 4. Totally removing the datafusion-cli memory overhead, the only occupied memory is the current batch for batchs iterator. ## Are these changes tested? Unit test added. Also mannul tested the datafusion-cli. ## Are there any user-facing changes? Almost no extra memory usage for datafusion-cli now! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org