Skip to content

Commit

Permalink
Improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw committed Apr 29, 2024
1 parent f8b3118 commit e2e39c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ballista/core/src/serde/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ impl PhysicalExtensionCodec for BallistaPhysicalExtensionCodec {
protobuf::ShuffleReaderExecNode {
stage_id,
partition,
schema: Some(exec.schema().as_ref().try_into()?),
schema: Some(exec.schema.as_ref().try_into()?),
},
)),
};
Expand All @@ -270,7 +270,7 @@ impl PhysicalExtensionCodec for BallistaPhysicalExtensionCodec {
physical_plan_type: Some(PhysicalPlanType::UnresolvedShuffle(
protobuf::UnresolvedShuffleExecNode {
stage_id: exec.stage_id as u32,
schema: Some(exec.schema().as_ref().try_into()?),
schema: Some(exec.schema.as_ref().try_into()?),
output_partition_count: exec.output_partition_count as u32,
},
)),
Expand Down

0 comments on commit e2e39c5

Please sign in to comment.