pvary commented on PR #12629:
URL: https://github.com/apache/iceberg/pull/12629#issuecomment-2866569257
Discussed this with @ajantha-bhat offline:
- We think that the need to recompute the stats is very-very rare. Ajantha
mentioned that maybe when the stats file was deleted accidentally then it could
lead to corruption when the stats removal is needed.
- Also he mentioned that using the java API the user could remove the stats
already:
```
table.refresh();
UpdatePartitionStatistics update = table.updatePartitionStatistics();
table.snapshots().forEach(s ->
update.removePartitionStatistics(s.snapshotId()));
update.commit();
```
- Based on this, if there are no immediate needs from the compute engines we
could just omit the `computeAndWriteStatsFullRefresh` method.
- We can always add the new method to the API if the need rises.
What do you think @deniskuzZ, @gaborkaszab?
--
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]