Xuanwo opened a new issue, #694:
URL: https://github.com/apache/iceberg-rust/issues/694
I'm not convinced that we need another type, such as
`SchemalessPartitionSpec`. Why shouldn't we return an `UnboundPartitionSpec`
instead? Looking at the signatures:
```rust
pub struct UnboundPartitionSpec {
/// Identifier for PartitionSpec
pub(crate) spec_id: Option<i32>,
/// Details of the partition spec
pub(crate) fields: Vec<UnboundPartitionField>,
}
```
```rust
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
https://github.com/apache/iceberg/issues/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
https://github.com/apache/iceberg-rust/pull/645#discussion_r1836605349_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]