liurenjie1024 commented on issue #32:
URL: https://github.com/apache/iceberg-rust/issues/32#issuecomment-1698421451

   > Do you think it's possible to use the capabilities of the query engine to 
repartition the data? Maybe there are some optimizations that can be performed 
if this is expressed as an Repartition Operator.
   
   Yeah, it's possible. However, usually we don't bind compute task to one 
partition of storage format, since the parallelism of of compute tasks is 
determined by many factors, not just table partition. I think the hierarchy of 
iceberg's `TaskWriter` explains things well enough:
   
   <img width="461" alt="image" 
src="https://github.com/apache/iceberg-rust/assets/2771941/f8fb3128-d22f-4e0b-80c0-9592f075e748";>
   
   `PartitionedWriter` is used when data is partitioned and sorted according to 
partition value.
   
   `PartitionedFanoutWriter` is used when data not partitioned by shuffle, and 
need to be precessed in writer.
   


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

Reply via email to