From 8795709b213374ea21f80cacf1c489dbcd13d752 Mon Sep 17 00:00:00 2001 From: Chao Sun Date: Mon, 19 Feb 2024 21:06:38 -0800 Subject: [PATCH] add unsafe --- core/src/parquet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/parquet/mod.rs b/core/src/parquet/mod.rs index f4c417790..4f87d15de 100644 --- a/core/src/parquet/mod.rs +++ b/core/src/parquet/mod.rs @@ -114,7 +114,7 @@ pub extern "system" fn Java_org_apache_comet_parquet_Native_initColumnReader( /// # Safety /// This function is inheritly unsafe since it deals with raw pointers passed from JNI. #[no_mangle] -pub extern "system" fn Java_org_apache_comet_parquet_Native_setDictionaryPage( +pub unsafe extern "system" fn Java_org_apache_comet_parquet_Native_setDictionaryPage( e: JNIEnv, _jclass: JClass, handle: jlong,