aglinxinyuan opened a new pull request, #5085: URL: https://github.com/apache/texera/pull/5085
## Summary - Adds `DocumentFactory.documentExists(uri)` so callers can test for an existing document at a URI without catching exceptions from `openDocument`. - Supports the `vfs` scheme by resolving the resource type to its iceberg namespace and probing via `IcebergUtil.loadTableMetadata`; throws `UnsupportedOperationException` for other schemes. - Split out of [#4206](https://github.com/apache/texera/pull/4206) so this small, reusable storage helper can land independently of the loop-operator feature work. ## Test plan - [ ] `sbt "workflow-core/compile"` succeeds. - [ ] Manual: call `documentExists` on a known-existing result URI returns `true`; on a fresh URI returns `false`; on an unsupported scheme raises `UnsupportedOperationException`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
