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

   ### What changes were proposed in this PR?
   
   Refactoring groundwork so model upload can reuse the dataset upload helpers. 
No new features and no behavior change.
   
   `put` and `validateAndNormalizeFilePathOrThrow` sit on the `DatasetResource` 
companion but hold no dataset state — one PUTs bytes to a presigned URL, the 
other normalizes a relative path. Model upload (#6498) needs both, so they move 
to a new `ResourceUploadUtils` instead of being copied.
   
   Pure move: the bodies are unchanged, `DatasetResource` imports them instead 
of defining them, and `DatasetResourcePathSpec` exercises them at their new 
home.
   
   
   ### 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` — 231 tests, 10 suites, 0 failures, 
which is
   `main`'s exact baseline: no tests added, none broken. scalafmt and scalafix 
clean.
   
   ### 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