You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "codecov-commenter (via GitHub)" <gi...@apache.org> on 2026/04/04 16:59:36 UTC

Re: [PR] [HUDI-699] Fix CompactionCommand and add unit test for CompactionCommand [hudi]

codecov-commenter commented on PR #2325:
URL: https://github.com/apache/hudi/pull/2325#issuecomment-4187409553

   ## [Codecov](https://app.codecov.io/gh/apache/hudi/pull/2325?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :x: Patch coverage is `27.90698%` with `62 lines` in your changes missing coverage. Please review.
   :white_check_mark: Project coverage is 52.55%. Comparing base ([`e692c70`](https://app.codecov.io/gh/apache/hudi/commit/e692c704da732c0f2a4d2892729687766a462e53?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`d5facf4`](https://app.codecov.io/gh/apache/hudi/commit/d5facf45ff5e8fe2ef1d71d050da523e6f227b6a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 5785 commits behind head on master.
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/hudi/pull/2325?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
   |---|---|---|
   | [...rg/apache/hudi/cli/commands/CompactionCommand.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-cli%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcli%2Fcommands%2FCompactionCommand.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jbGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY2xpL2NvbW1hbmRzL0NvbXBhY3Rpb25Db21tYW5kLmphdmE=) | 52.17% | [22 Missing :warning: ](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [.../common/table/timeline/HoodieArchivedTimeline.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcommon%2Ftable%2Ftimeline%2FHoodieArchivedTimeline.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY29tbW9uL3RhYmxlL3RpbWVsaW5lL0hvb2RpZUFyY2hpdmVkVGltZWxpbmUuamF2YQ==) | 0.00% | [21 Missing :warning: ](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...n/java/org/apache/hudi/cli/commands/SparkMain.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-cli%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcli%2Fcommands%2FSparkMain.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jbGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY2xpL2NvbW1hbmRzL1NwYXJrTWFpbi5qYXZh) | 0.00% | [17 Missing :warning: ](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...i/common/table/timeline/TimelineMetadataUtils.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcommon%2Ftable%2Ftimeline%2FTimelineMetadataUtils.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY29tbW9uL3RhYmxlL3RpbWVsaW5lL1RpbWVsaW5lTWV0YWRhdGFVdGlscy5qYXZh) | 0.00% | [2 Missing :warning: ](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   [![Impacted file tree graph](https://app.codecov.io/gh/apache/hudi/pull/2325/graphs/tree.svg?width=650&height=150&src=pr&token=VTTXabwbs2&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #2325      +/-   ##
   ============================================
   + Coverage     52.26%   52.55%   +0.28%     
   - Complexity     3679     3699      +20     
   ============================================
     Files           484      484              
     Lines         23079    23110      +31     
     Branches       2457     2458       +1     
   ============================================
   + Hits          12063    12146      +83     
   + Misses         9952     9893      -59     
   - Partials       1064     1071       +7     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [hudicli](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.29% <38.09%> (+3.35%)` | :arrow_up: |
   | [hudiclient](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `∅ <ø> (∅)` | |
   | [hudicommon](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `50.73% <0.00%> (-0.05%)` | :arrow_down: |
   | [hudiflink](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.58% <ø> (ø)` | |
   | [hudihadoopmr](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `33.44% <ø> (ø)` | |
   | [hudisparkdatasource](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `71.33% <ø> (ø)` | |
   | [hudisync](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `45.47% <ø> (ø)` | |
   | [huditimelineservice](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `64.36% <ø> (ø)` | |
   | [hudiutilities](https://app.codecov.io/gh/apache/hudi/pull/2325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `69.69% <ø> (-0.06%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/hudi/pull/2325?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [...a/org/apache/hudi/cli/HoodieTableHeaderFields.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-cli%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcli%2FHoodieTableHeaderFields.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jbGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY2xpL0hvb2RpZVRhYmxlSGVhZGVyRmllbGRzLmphdmE=) | `0.00% <ø> (ø)` | |
   | [...i/common/table/timeline/TimelineMetadataUtils.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcommon%2Ftable%2Ftimeline%2FTimelineMetadataUtils.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY29tbW9uL3RhYmxlL3RpbWVsaW5lL1RpbWVsaW5lTWV0YWRhdGFVdGlscy5qYXZh) | `70.17% <0.00%> (-2.56%)` | :arrow_down: |
   | [...n/java/org/apache/hudi/cli/commands/SparkMain.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-cli%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcli%2Fcommands%2FSparkMain.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jbGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY2xpL2NvbW1hbmRzL1NwYXJrTWFpbi5qYXZh) | `6.83% <0.00%> (+0.11%)` | :arrow_up: |
   | [.../common/table/timeline/HoodieArchivedTimeline.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcommon%2Ftable%2Ftimeline%2FHoodieArchivedTimeline.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY29tbW9uL3RhYmxlL3RpbWVsaW5lL0hvb2RpZUFyY2hpdmVkVGltZWxpbmUuamF2YQ==) | `0.00% <0.00%> (ø)` | |
   | [...rg/apache/hudi/cli/commands/CompactionCommand.java](https://app.codecov.io/gh/apache/hudi/pull/2325?src=pr&el=tree&filepath=hudi-cli%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Fcli%2Fcommands%2FCompactionCommand.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVkaS1jbGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1ZGkvY2xpL2NvbW1hbmRzL0NvbXBhY3Rpb25Db21tYW5kLmphdmE=) | `30.18% <52.17%> (+29.38%)` | :arrow_up: |
   
   ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/apache/hudi/pull/2325/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   </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-unsubscribe@hudi.apache.org

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