2010YOUY01 opened a new issue, #15552:
URL: https://github.com/apache/datafusion/issues/15552

   ### Is your feature request related to a problem or challenge?
   
   Now we're able to set session configurations through SQL interface:
   - Doc about config: https://datafusion.apache.org/user-guide/configs.html
   - Example to set it through executing an SQL query: 
       ```sql
       set datafusion.execution.batch_size = 1024;
       SELECT * FROM tbl ORDER BY c1;
       ```
   
   However, runtime configurations like memory limit can't be set like this, it 
has to be set through Rust APIs during setup like the following example:
   
https://github.com/apache/datafusion/blob/28451b5ff1a1363c3495dc328cf8aaf9bc7b925e/datafusion/core/tests/memory_limit/mod.rs#L455-L461
   Although it's called `RuntimeConfiguration`, it's still some static 
parameters to be configured, instead of a long-running daemon. So I think it 
make sense to be able to change it from query to query, and also provide a 
easier to use API.
   Also, they don't have a user manual like 
[SessionConfig](https://datafusion.apache.org/user-guide/configs.html).
   
   ### Describe the solution you'd like
   
   1. Add documents for runtime configurations like memory limit similar to 
[SessionConfig](https://datafusion.apache.org/user-guide/configs.html) to the 
user-guide.
   2. Make it configurable through SQL interface.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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.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

Reply via email to