parthchandra commented on code in PR #1104:
URL: https://github.com/apache/datafusion-comet/pull/1104#discussion_r1866463312
##########
native/core/src/execution/jni_api.rs:
##########
@@ -61,6 +61,20 @@ use tokio::runtime::Runtime;
use crate::execution::operators::ScanExec;
use log::info;
+use once_cell::sync::Lazy;
+
+static TOKIO_RUNTIME: Lazy<Runtime> = Lazy::new(|| {
Review Comment:
Perhaps this should be once per session (a user could modify the config in
the session or run different queries in a single job that might require
independent configuration)?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]