zqr10159 opened a new pull request, #4287:
URL: https://github.com/apache/hertzbeat/pull/4287

   ## Summary
   
   - bound Arrow-backed metric string cells to 32,700 UTF-8 bytes
   - encode directly into a fixed-size buffer and stop at a valid character 
boundary
   - add an oversized-value contract for the metrics builder
   
   ## Validation
   
   - `./mvnw -pl hertzbeat-common-core -Dtest=CollectRepTest test -DskipITs 
-Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false`
   - `git diff --cached --check`
   
   AI assistance: used for draft implementation and test iteration.
   Human validation: the focused Maven module completed successfully; all 3 
CollectRep tests passed and Checkstyle reported no violations.
   Risk notes: string metric values longer than 32,700 UTF-8 bytes are 
truncated before Arrow storage; shorter values retain their existing 
representation.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to