Xiao-zhen-Liu opened a new pull request, #9316: URL: https://github.com/apache/texera/pull/9316
### What changes were proposed in this PR? Pass a ScanFileResolver function into WorkflowCompiler and LogicalPlan so callers supply how scan source file names are resolved instead of LogicalPlan calling FileResolver directly. - Move ResourceAccess and ResourceTables from file-service to common/resource so workflow-core can share dataset and model lookup helpers. - Add ScanFileResolver and FileResolver.forUser(uid), which resolves logical dataset and model paths through ResourceAccess. - Keep FileResolver.resolveVersionedResource for callers that resolve logical paths after their own lookup (ResourceUploadService, CoverImageUtils). - Pass the session user's resolver from WorkflowCompilationResource, WorkflowExecutionService, and SyncExecutionResource, and remove the unused SyncExecutionResource.validateWorkflow method. - Pass the user token when creating TexeraAgent in agent-service so compile calls on unsaved workflows include the session header. - Keep local path and URI resolution in FileScanOpExec for File Scan From Input operators that read paths from input tuples on the worker. - Use TestOperators.fixtureFileResolver in tests that scan local fixture files. ### Any related issues, documentation, discussions? None. ### How was this PR tested? Added and updated unit tests for FileResolver, LogicalPlan, WorkflowCompiler, the scan source operators, and the compile endpoint. The tests of the affected modules pass locally, and agent-service typechecks. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude (Claude Code), Antigravity 🤖 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]
