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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to