Skip to content

Commit 2b0e6db

Browse files
authored
chore: Simplify approach to avoiding memory corruption due to buffer reuse (#2156)
1 parent 67a031d commit 2b0e6db

File tree

9 files changed

+27
-777
lines changed

9 files changed

+27
-777
lines changed

native/core/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,3 @@ harness = false
119119
[[bench]]
120120
name = "parquet_decode"
121121
harness = false
122-
123-
[[bench]]
124-
name = "filter"
125-
harness = false

native/core/benches/filter.rs

Lines changed: 0 additions & 112 deletions
This file was deleted.

native/core/src/execution/operators/copy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl RecordBatchStream for CopyStream {
245245
}
246246

247247
/// Copy an Arrow Array
248-
fn copy_array(array: &dyn Array) -> ArrayRef {
248+
pub(crate) fn copy_array(array: &dyn Array) -> ArrayRef {
249249
let capacity = array.len();
250250
let data = array.to_data();
251251

0 commit comments

Comments
 (0)