Davis-Zhang-Onehouse opened a new pull request, #20801:
URL: https://github.com/apache/hudi/pull/20801

   ### Describe the issue this Pull Request addresses
   
   issue: #20800
   Part of #20683, RFC-118 (#20684).
   Stacked on #20799: review only the last commit. Until the PRs below it 
merge, this PR also shows their commits.
   
   Payload files that the out-of-line writer writes for a table belong under 
that table's managed blob folder (`.hoodie/.blob`). No test pins this naming 
down. The embedding transformer's Javadoc also does not say exactly which 
instant state its round checks run against on the streamer timeline.
   
   ### Summary and Changelog
   
   Tests pin managed payload paths to the table's blob folder, and the 
embedding transformer's Javadoc names the instant state its round checks run 
against.
   
   - New `TestManagedBlobPaths`: `ManagedBlobPaths.FOLDER` is `.hoodie/.blob`. 
`isManagedBlobPath` accepts files under that folder, including partitioned 
paths, and rejects the folder itself, a sibling folder, other meta-folder 
files, data files and `null`. `OutOfLineWriter.newPath` names its files under 
the blob folder, with and without a partition path.
   - `TestBlobSourceWithoutTargetPath` adds a failure message to its assertion 
that the instant is INFLIGHT when the transformer runs.
   - `EmbeddingTableTransformer` Javadoc: the round checks run after the 
streamer fetched the batch and moved the instant to INFLIGHT, before any prep 
work.
   - 2 test files.
   
   Existing files touched: none; outside the `unstructured` packages the diff 
only changes `TestBlobSourceWithoutTargetPath`, a test of the RFC-118 blob 
source.
   
   No code was copied from other projects.
   
   ### Impact
   
   No public API, behaviour or performance change: one Javadoc line and tests.
   
   ### Risk Level
   
   none: one Javadoc line and tests only.
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [x] Adequate tests were added if applicable
   


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