Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget committed Jan 23, 2025
1 parent 958476b commit a5df4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/core/src/execution/metrics/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn update_comet_metric(
) -> Result<(), CometError> {
unsafe {
let native_metric = to_native_metric_node(spark_plan);
let jbytes = env.byte_array_from_slice(&*native_metric?.encode_to_vec())?;
let jbytes = env.byte_array_from_slice(&native_metric?.encode_to_vec())?;
jni_call!(env, comet_metric_node(metric_node).set_all_from_bytes(&jbytes) -> ())?;
}
Ok(())
Expand Down

0 comments on commit a5df4f1

Please sign in to comment.