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 7d7f388
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions native/core/src/parquet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,7 @@ 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 7d7f388

Please sign in to comment.