You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "wandongchen (via GitHub)" <gi...@apache.org> on 2025/06/24 12:07:38 UTC
[I] Way spark rewrite produce the same size files [iceberg]
wandongchen opened a new issue, #13375:
URL: https://github.com/apache/iceberg/issues/13375
### Query engine
_No response_
### Question
We use spark rewrite files, such as:
CALL `DataLakeCatalog`.`system`.`rewrite_data_files`(`table` => 'x.y', `options` => map('delete-file-threshold', '1', 'max-concurrent-file-group-rewrites', '10', 'partial-progress.enabled', 'true', 'partial-progress.max-commits', '50', 'min-file-size-bytes', '62914560', 'max-file-group-size-bytes', '10737418240', 'min-input-files', '5', 'target-file-size-bytes', '134217728'))
when this produce finish, check some partition files, the size before and after the rewrite is the same.
--
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-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Why spark rewrite produce the same size files [iceberg]
Posted by "manuzhang (via GitHub)" <gi...@apache.org>.
manuzhang commented on issue #13375:
URL: https://github.com/apache/iceberg/issues/13375#issuecomment-3003728604
It's possible since you have `delete-file-threshold=1`, which means a data file will be rewritten if it has one associated delete file regardless of other criteria.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Why spark rewrite produce the same size files [iceberg]
Posted by "wandongchen (via GitHub)" <gi...@apache.org>.
wandongchen commented on issue #13375:
URL: https://github.com/apache/iceberg/issues/13375#issuecomment-3003787372
> It's possible since you have `delete-file-threshold=1`, which means a data file will be rewritten if it has one associated delete file regardless of other criteria.
This table is write by APPEND, there is no deletes file at all the snapshots, this is a snapshot summary
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Why spark rewrite produce the same size files [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13375: Why spark rewrite produce the same size files
URL: https://github.com/apache/iceberg/issues/13375
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Why spark rewrite produce the same size files [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13375:
URL: https://github.com/apache/iceberg/issues/13375#issuecomment-3684620225
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Why spark rewrite produce the same size files [iceberg]
Posted by "wandongchen (via GitHub)" <gi...@apache.org>.
wandongchen commented on issue #13375:
URL: https://github.com/apache/iceberg/issues/13375#issuecomment-3003802806
> It's possible since you have `delete-file-threshold=1`, which means a data file will be rewritten if it has one associated delete file regardless of other criteria.
Thanks for reply!
The table write by APPEND, we check this table snapshots, don't found any deletes file with all snapshots, current snapshot summary is:
<img width="368" alt="Image" src="https://github.com/user-attachments/assets/2a21deec-d5c8-48a4-8a2f-5b6ac78d3672" />
Are there other possible causes?
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Why spark rewrite produce the same size files [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13375:
URL: https://github.com/apache/iceberg/issues/13375#issuecomment-3712558194
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org