the-other-tim-brown opened a new pull request, #13614:
URL: https://github.com/apache/hudi/pull/13614

   ### Change Logs
   
   **Avro Record Buffer Serializer Improvements**
   - Fix handling of delete records and add unit testing for this case
   - Create thread-local cache of Kryo
   Benchmarking of before/after the thread-local changes shows large win:
   ```
    * baseline      avgt   25  94770.228 ± 2012.900   ns/op
    * new             avgt   25           4.641 ± 0.040         ns/op
    ```
    
   **Merger Changes**
   - Move any validation to happen in the constructor of instances to avoid 
calls per record merge
   - Create a class to return instead of Pair to avoid auto boxing of boolean 
to Boolean and then unboxing to boolean which incurs 17% longer runtime than 
just defining a simple object with primitive boolean
   
   **File Group Reader Changes**
   - Inline methods with 1-2 lines and reuse common code
   - Use `ifPresent` instead of `isPresent` and `get` for more functional style 
and avoid extra calls
   
   ### Impact
   
   - Improves performance of critical paths of the FileGroupReader, especially 
around the Metadata Table reads
   
   ### Risk level (write none, low medium or high below)
   
   Low
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, 
config, or user-facing change. If not, put "none"._
   
   - _The config description must be updated if new configs are added or the 
default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. 
Please create a Jira ticket, attach the
     ticket number here and follow the 
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to 
make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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