Skip to content

Commit

Permalink
For review
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Nov 2, 2024
1 parent 94ef085 commit 583aed6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions native/core/src/parquet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,8 @@ pub extern "system" fn Java_org_apache_comet_parquet_Native_currentBatch(
let ctx = get_context(handle)?;
let reader = &mut ctx.column_reader;
let data = reader.current_batch();
data.move_to_spark(array_addr, schema_addr)?;

Ok(())
data.move_to_spark(array_addr, schema_addr)
.map_err(|e| e.into())
})
}

Expand Down

0 comments on commit 583aed6

Please sign in to comment.