From e49d0922533bd85699e1b336808b3beaf4bfb918 Mon Sep 17 00:00:00 2001 From: Kazuyuki Tanimura Date: Fri, 8 Nov 2024 18:47:58 -0800 Subject: [PATCH] fix: Remove export --- native/core/src/execution/operators/scan.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/native/core/src/execution/operators/scan.rs b/native/core/src/execution/operators/scan.rs index a358e534d..b0d83977c 100644 --- a/native/core/src/execution/operators/scan.rs +++ b/native/core/src/execution/operators/scan.rs @@ -251,11 +251,11 @@ impl ScanExec { let schema_ptr = schema_addrs[i]; if num_arrays > 0 { let array_data = ArrayData::from_spark( - ( - unsafe { *(array_elements.add(i * 2)) }, - unsafe { *(array_elements.add(i * 2 + 1)) }, - ), - data_type)?; + (unsafe { *(array_elements.add(i * 2)) }, unsafe { + *(array_elements.add(i * 2 + 1)) + }), + data_type, + )?; array_data.move_to_spark(array_ptr, schema_ptr)?; }; let array_data = ArrayData::from_spark((array_ptr, schema_ptr), data_type)?;