[HUDI-1005] fix NPE in HoodieWriteClient.clean#1714
[HUDI-1005] fix NPE in HoodieWriteClient.clean#1714vinothchandar merged 1 commit intoapache:masterfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1714 +/- ##
============================================
+ Coverage 18.19% 18.24% +0.05%
- Complexity 857 863 +6
============================================
Files 348 348
Lines 15358 15391 +33
Branches 1525 1525
============================================
+ Hits 2794 2808 +14
- Misses 12206 12225 +19
Partials 358 358 ☔ View full report in Codecov by Sentry. |
|
@vinothchandar can you take a look at this? |
|
I was wondering if there was a way to just throw an exception or make it an Option.. merged.. let's punt on this for now |
When I try to run HoodieDeltaStreamer with metrics on, it's no clean action in hoodie meta, then HoodieTable.create(config, hadoopConf).clean(jsc, cleanInstantTime) will return null. |
Tips
What is the purpose of the pull request
Brief change log
(for example:)
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Committer checklist
Has a corresponding JIRA in PR title & commit
Commit message is descriptive of the change
CI is green
Necessary doc changes done or have another open PR
For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.