my-vegetable-has-exploded commented on issue #98:
URL: https://github.com/apache/iceberg-rust/issues/98#issuecomment-1819116596
Sorry for my misunderstanding and thanks for your patience @liurenjie1024.
Without ```option```, UnboundPartitionSpec and UnboundPartitionField may like
this?
```rust
pub struct UnboundPartitionField {
/// A source column id from the table’s schema
pub source_id: i32,
/// A partition name.
pub name: String,
/// A transform that is applied to the source column to produce a
partition value.
pub transform: Transform,
}
pub struct UnboundPartitionField {
/// A source column id from the table’s schema
pub source_id: i32,
/// A partition name.
pub name: String,
/// A transform that is applied to the source column to produce a
partition value.
pub transform: Transform,
}
pub struct UnboundPartitionSpec {
pub fields: Vec<UnboundPartitionField>,
}
impl UnboundPartitionSpec{
pub fn bind(&self, schema: SchemaRef) -> Result<PartitionSpec> {
// progress
}
}
```
--
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]