Skip to content

Conversation

@codope
Copy link
Member

@codope codope commented Mar 22, 2022

What is the purpose of the pull request

REPLACE_COMMIT_ACTION is used for different write operations like clustering, insert_overwrite or insert_overwrite_table. However, there is a difference between whether requested/inflight replace commit metadata has any content or not depending on the write operation. This PR attempts to fix that and avoid NPE due to empty replacecommit metadata. We should ideally have a standard for replacecommit metadata as pointed out in HUDI-1739.

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

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:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

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.

@apache apache deleted a comment from hudi-bot Mar 22, 2022
@yihua yihua self-assigned this Mar 22, 2022
Copy link
Contributor

@yihua yihua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@yihua
Copy link
Contributor

yihua commented Mar 23, 2022

The CI failures are due to other issues. Merging this now.

@yihua yihua merged commit f96ba7a into apache:master Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants