zhedoubushishi commented on issue #1175: [HUDI-495] Update deprecated HBase API URL: https://github.com/apache/incubator-hudi/pull/1175#issuecomment-571788946 I think in our cases doMutations method will always do flush right after doing mutator.mutate(...). So each time you call doMutations, at first the buffer should be empty. Therefore, if the mutations array is empty, we can just return without any flush operation. That why I rewrite it like this: ``` if (mutations.isEmpty()) { return; } ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
