comphead commented on code in PR #1555: URL: https://github.com/apache/datafusion-comet/pull/1555#discussion_r2003798506
########## native/core/src/parquet/mod.rs: ########## @@ -641,6 +640,8 @@ pub unsafe extern "system" fn Java_org_apache_comet_parquet_Native_initRecordBat session_timezone: jstring, ) -> jlong { try_unwrap_or_throw(&e, |mut env| unsafe { + let task_ctx = TaskContext::default(); Review Comment: For this use case it is more like aligning with DataFusion. Feature wise is the same. `TaskContext` is a state on top of the running ingle query, `SessionContext` is global state -- 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