[ 
https://issues.apache.org/jira/browse/HUDI-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17375053#comment-17375053
 ] 

ASF GitHub Bot commented on HUDI-1425:
--------------------------------------

hudi-bot commented on pull request #2296:
URL: https://github.com/apache/hudi/pull/2296#issuecomment-874367360


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d4e3d89e0c02f1b9a704a61627f7aafec14e67e6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d4e3d89e0c02f1b9a704a61627f7aafec14e67e6",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d4e3d89e0c02f1b9a704a61627f7aafec14e67e6 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Performance loss with the additional hoodieRecords.isEmpty() in 
> HoodieSparkSqlWriter#write
> ------------------------------------------------------------------------------------------
>
>                 Key: HUDI-1425
>                 URL: https://issues.apache.org/jira/browse/HUDI-1425
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: Spark Integration
>    Affects Versions: 0.9.0
>            Reporter: pengzhiwei
>            Assignee: pengzhiwei
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>         Attachments: 截屏2020-11-30 下午9.47.55.png
>
>
> Currently in HoodieSparkSqlWriter#write, there is a _isEmpty()_ test for 
> _hoodieRecords._ This may be a heavy operator in the case when the 
> _hoodieRecords_ contains complex RDD operate.
> !截屏2020-11-30 下午9.47.55.png|width=1255,height=161!
> IMO this test does nothing to do with the performance improve,but rather 
> affects performance.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to