-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Description
I'm not convinced that we need another type, such as `SchemalessPartitionSpec`. Why shouldn't we return an `UnboundPartitionSpec` instead? Looking at the signatures:
pub struct UnboundPartitionSpec {
/// Identifier for PartitionSpec
pub(crate) spec_id: Option<i32>,
/// Details of the partition spec
pub(crate) fields: Vec<UnboundPartitionField>,
}pub struct SchemalessPartitionSpec {
/// Identifier for PartitionSpec
spec_id: i32,
/// Details of the partition spec
fields: Vec<PartitionField>,
}And the PartitionField and UnboundPartitionField are basically the same.
Introducing SchemalessPartitionSpec might be our way to avoid apache/iceberg#4563.
If we cannot find the field anymore, the best thing to do is to include the file in the query plan.
Originally posted by @Fokko in #645 (comment)
Metadata
Metadata
Assignees
Labels
No labels