Skip to content

Commit

Permalink
beter
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Apr 9, 2024
1 parent 371daf9 commit a503583
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vortex-array/src/array/varbinview/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,14 @@ impl VarBinViewArray {
unsafe {
if view.inlined.size > 12 {
let arrow_data_buffer = flatten_primitive(
self.data
&self
.data
.get(view._ref.buffer_index as usize)
.unwrap()
.slice(
view._ref.offset as usize,
(view._ref.size + view._ref.offset) as usize,
)?
.as_ref(),
)?,
)?;
// TODO(ngates): can we avoid returning a copy?
Ok(arrow_data_buffer.typed_data::<u8>().to_vec())
Expand Down

0 comments on commit a503583

Please sign in to comment.