tanishqgandhi1908 opened a new pull request, #7762:
URL: https://github.com/apache/texera/pull/7762

   ### What changes were proposed in this PR?
   
   Refactoring groundwork so model upload can reuse the dataset file-tree 
builder. No new features and no change to dataset behavior.
   
   `DatasetFileNode.fromLakeFSRepositoryCommittedObjects` hardcoded `datasets` 
as the leading path segment of the tree. `FileResolver` uses that segment to 
pick the backing table, so a model tree built by it would report 
`/datasets/...` paths and resolve against the dataset table. `resourceType` is 
now a required parameter, so each call site says which resource it
   is building. The three dataset call sites pass `ResourceType.Datasets`, the 
value that was
   hardcoded before, so datasets are unaffected.
   
   
   ### Any related issues, documentation, discussions?
   
   Part of #6494, groundwork for #6498. Based directly on `main` and 
independent of the other
   open PRs in the model stack.
   
   ### How was this PR tested?
   
   `sbt "FileService/test"` against `main` — 232 tests, 10 suites, 0 failures. 
scalafmt and
   scalafix clean. The existing dataset tree test is unchanged; one test was 
added covering a
   model tree rooted at `/models/`.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5)


-- 
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]

Reply via email to