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

   ### Describe the issue this Pull Request addresses
   
   issue: #20712
   Part of #20683, RFC-118 (#20684).
   Stacked on #20711: review only the last commit. Until the PRs below it 
merge, this PR also shows their commits.
   
   Bounded-memory tests of the blob and embedding rounds (opt-in memory cells 
that run a round in a child JVM with a fixed heap) and a golden check of the 
embedding round's output.
   
   ### Summary and Changelog
   
   - `TestMemoryCellJvm`: runs a round in a child JVM with a fixed heap.
   - `TestBlobRoundMemoryCells` and `TestEmbeddingRoundMemoryCells`: opt-in 
cells that check the blob and embedding rounds stay inside their heap. They are 
not selected by default CI.
   - `TestEmbeddingRoundGolden` with a golden corpus, its checksum and the 
script that regenerates it.
   
   Test code only. No code was copied from other projects.
   
   Known limitation: the opt-in `cow-inline` blob cell does not pass on JDK 11 
/ Spark 3.5 at its reference heap (591m) or at 640m. A heap analysis shows 
Spark spill maps holding both the encoded and the decoded copy of each record. 
The cell needs the serialized-record one-copy fix, which follows in a later PR 
of this stack (sub-issue 38 of the plan). The cell is kept as written and is 
not counted as passing.
   
   ### Impact
   
   Tests only; no production change.
   
   ### Risk Level
   
   none: test code only. Verified on JDK 11 / Spark 3.5 / Scala 2.12 with 23 
tests (1 skipped), module compilation, checkstyle and RAT.
   
   ### 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]

  • [PR] test(ingest): RFC-118: ... Davis-Zhang-Onehouse (via GitHub) via commits

Reply via email to