namrathamyske commented on issue #7918:
URL: https://github.com/apache/iceberg/issues/7918#issuecomment-1615208124
@rdblue @RussellSpitzer @aokolnychyi
Any specific reason we pass the finalNumPartitions from iceberg? spark is
not able to apply AQE coalesce partitions as we are specifying the number of
partitions(leading to small files problem) But when we pass None as the number
of partitions, Spark AQE kicks in and it coalesces partitions as suitable -
[https://github.com/apache/iceberg/blob/8af5b1d8c032ff2b0b2d738b3b5f791e16b83e84/sp[…]ution/datasources/v2/ExtendedDistributionAndOrderingUtils.scala](https://github.com/apache/iceberg/blob/8af5b1d8c032ff2b0b2d738b3b5f791e16b83e84/sp[%E2%80%A6]ution/datasources/v2/ExtendedDistributionAndOrderingUtils.scala).
--
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]