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

   ### Change Logs
   
   `DataBucket::preWrite` sets new current location, using `fileID` from 
`DataBucket`. But `fileID` is set only during `DataBucket` initialization. And 
for initialization we use passed first record. So, we actually don't need to 
call `preWrite`.
   
   ### Impact
   
   No impact
   
   ### Risk level (write none, low medium or high below)
   
   Low
   
   ### Documentation Update
   
   No need
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Change Logs and Impact were stated clearly
   - [x] 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