Skip to content

Commit

Permalink
[CHORE] Add schemas for remaining local plan ops (#3446)
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Ho <[email protected]>
  • Loading branch information
colin-ho and Colin Ho authored Nov 28, 2024
1 parent 0e7333a commit 151a2cf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/daft-local-plan/src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,14 @@ impl LocalPhysicalPlan {
| Self::HashJoin(HashJoin { schema, .. })
| Self::Explode(Explode { schema, .. })
| Self::Unpivot(Unpivot { schema, .. })
| Self::Concat(Concat { schema, .. }) => schema,
| Self::Concat(Concat { schema, .. })
| Self::MonotonicallyIncreasingId(MonotonicallyIncreasingId { schema, .. }) => schema,
Self::PhysicalWrite(PhysicalWrite { file_schema, .. }) => file_schema,
Self::InMemoryScan(InMemoryScan { info, .. }) => &info.source_schema,
_ => todo!("{:?}", self),
#[cfg(feature = "python")]
Self::CatalogWrite(CatalogWrite { file_schema, .. }) => file_schema,
#[cfg(feature = "python")]
Self::LanceWrite(LanceWrite { file_schema, .. }) => file_schema,
}
}
}
Expand Down

0 comments on commit 151a2cf

Please sign in to comment.