apache / apache/paimon

[Feature] Add unit tests for PrepareCommitOperators

Open
#930 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.

### Motivation

We should add unit tests for writer operators.
Flink provides `OneInputStreamOperatorTestHarness` to test operators, take a look to `CommitterOperatorTest`.

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate PrepareCommitOperators and read CommitterOperatorTest for the project's existing operator-test patterns. Use Flink's OneInputStreamOperatorTestHarness to add unit tests for PrepareCommitOperators; done means the relevant writer-operator behavior is covered by passing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.