geruh opened a new pull request, #2204:
URL: https://github.com/apache/iceberg-python/pull/2204

   Closes #2095 
   
   # Rationale for this change
   Currently, we can only partition on top-level valid field types, but this PR 
adds support for partitioning on primitive fields in a struct type using dot 
notation to determine the partitions against the nested structure. 
   
   # Are these changes tested?
   Yes added tests and tested a write against the problem in the above issue.
   
   ```
   aws s3 ls s3://drusbucket/demo1/nestedPartition/data/
                              PRE timestamp_hour=2024-01-15-10/
                              PRE timestamp_hour=2024-01-15-11/
                              PRE timestamp_hour=2024-04-15-11/
                              PRE timestamp_hour=2024-05-15-10/
   ```
   
   # Are there any user-facing changes?
   
   no but now can add data to tables that are partitioned by a source column 
that's in a struct 
   


-- 
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