apache / apache/hudi

Add unit test to verify clean and rollback instants are archived correctly

Open
#14,763 0 comments 0 reactions 0 assignees View on GitHub
area:table-service area:tests from-jira priority:high
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

https://github.com/apache/hudi/blob/master/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/io/TestHoodieTimelineArchiveLog.java

The tests dont seem to cover clean/rollback instants. Add those instants and make sure those instants are archived correctly.

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-1645
- Type: Test
- Affects version(s):
- 0.9.0

---

## Comments

27/Mar/22 15:08;xushiyan;hi [~satishkotha] what is the status on this? ;;;

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/io/TestHoodieTimelineArchiveLog.java and review the existing archive tests. Add clean and rollback instants to the relevant test coverage, then run this unit test to verify those instants are archived correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.