You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "alessandro-nori (via GitHub)" <gi...@apache.org> on 2025/07/11 14:20:20 UTC
[I] Inconsistent handling of non-existent object locations across FileIO implementations [iceberg]
alessandro-nori opened a new issue, #13528:
URL: https://github.com/apache/iceberg/issues/13528
### Feature Request / Improvement
Currently, S3InputStream throws a NotFoundException when getObject is called on a location that doesn’t exist. This behavior ensures that BaseMetastoreTableOperations stops retrying, avoiding unnecessary retries when the location is definitively not found.
However, GCSInputStream and AdlsInputStream do not throw the same exception for missing locations. As a result, BaseMetastoreTableOperations continues to retry the operation multiple times, even though the location will never exist, leading to wasted resources and latency.
## Expected behavior
All InputStream implementations (S3InputStream, GCSInputStream, AdlsInputStream, etc.) should consistently throw a NotFoundException (or equivalent) when accessing a non-existent object location. This allows downstream logic (like BaseMetastoreTableOperations) to fail fast and avoid unnecessary retries.
### Query engine
None
### Willingness to contribute
- [ ] I can contribute this improvement/feature independently
- [x] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
--
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] Inconsistent handling of non-existent object locations across FileIO implementations [iceberg]
Posted by "alessandro-nori (via GitHub)" <gi...@apache.org>.
alessandro-nori commented on issue #13528:
URL: https://github.com/apache/iceberg/issues/13528#issuecomment-4263807116
Fixed in https://github.com/apache/iceberg/pull/15806 and https://github.com/apache/iceberg/pull/15734
--
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] Inconsistent handling of non-existent object locations across FileIO implementations [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13528:
URL: https://github.com/apache/iceberg/issues/13528#issuecomment-3721363096
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] Inconsistent handling of non-existent object locations across FileIO implementations [iceberg]
Posted by "alessandro-nori (via GitHub)" <gi...@apache.org>.
alessandro-nori closed issue #13528: Inconsistent handling of non-existent object locations across FileIO implementations
URL: https://github.com/apache/iceberg/issues/13528
--
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] Inconsistent handling of non-existent object locations across FileIO implementations [iceberg]
Posted by "aditya-subrahmanyan (via GitHub)" <gi...@apache.org>.
aditya-subrahmanyan commented on issue #13528:
URL: https://github.com/apache/iceberg/issues/13528#issuecomment-3735976203
@alessandro-nori I see that issue has been open for a while. I have a draft PR that I think addresses what you described: https://github.com/apache/iceberg/pull/15029. Could you please take a look? Thanks!
--
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