trushev opened a new pull request, #7287:
URL: https://github.com/apache/hudi/pull/7287

   ### Change Logs
   
   When schema evolution is disabled each instance of HoodieAvroDataBlock calls 
`getEmptyInternalSchema()` which triggers creation of ArrayList and 
InternalSchema. We can easily avoid unnecessary object creation by reusing 
empty schema.
   
   ### Impact
   
   Avoid unnecessary creation of empty InternalSchema
   
   ### Risk level (write none, low medium or high below)
   
   Low
   
   ### Documentation Update
   
   None
   
   ### 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