Skip to content

Conversation

@wangxianghu
Copy link
Contributor

@wangxianghu wangxianghu commented Feb 27, 2022

Tips

What is the purpose of the pull request

In our use case, data is read from kafka(binlog with some preprocess), schema read from hive, we need
add _hoodie_is_deleted column to schema to support delete operation

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request

This pull request is already covered by existing tests, such as:
org.apache.hudi.utilities.schema.TestSchemaPostProcessor#testDeleteSupport

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.

@nsivabalan nsivabalan added the priority:high Significant impact; potential bugs label Feb 27, 2022
@nsivabalan
Copy link
Contributor

@alexeykudinkin : Can you review this please.

Copy link
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

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

thanks for the contribution.
left some comments.

@wangxianghu wangxianghu force-pushed the HUDI-3520 branch 6 times, most recently from 50e7fc8 to 4a265c6 Compare March 4, 2022 11:14
@wangxianghu
Copy link
Contributor Author

@nsivabalan please take another look when free

@hudi-bot
Copy link
Collaborator

hudi-bot commented Mar 4, 2022

CI report:

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

@pratyakshsharma pratyakshsharma changed the title [HUDI-3520] Introduce DeleteSupportSchemaPostProcessor to support add… [HUDI-3520] Introduce DeleteSupportSchemaPostProcessor to support adding _hoodie_is_deleted column to schema Mar 6, 2022
@pratyakshsharma
Copy link
Contributor

This adds a useful missing piece. Thank you for contributing this @wangxianghu

Copy link
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

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

LGTM. I see we are adding few schema post processors (delete in this patch, and then json in another patch).
So, can you look into adding support for multiple schema post processors in general to deltastreamer (in a follow up patch).

@nsivabalan nsivabalan merged commit 4b47177 into apache:master Mar 6, 2022
@wangxianghu
Copy link
Contributor Author

wangxianghu commented Mar 7, 2022

@nsivabalan
The patch is coming now :)
#4968

vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high Significant impact; potential bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants