Skip to content

Conversation

@xushiyan
Copy link
Member

Change Logs

Change logging mode names to

  • op_key_only
  • data_before
  • data_before_after

Impact

Config name changes. No impact as it's done before 0.13 release.

Risk level

None.

Documentation Update

NA

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

.stringType()
.defaultValue("cdc_data_before_after") // default record all the change log images
.defaultValue(op_key_only.name())
.withFallbackKeys(HoodieTableConfig.CDC_SUPPLEMENTAL_LOGGING_MODE.key())
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep the default value of Flink as data_before_after, there are some issues maybe for the other 2 modes because Flink can trigger eager flush, the intermediate data file may cause changes loss, we can switch to other modes when I fix that.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok got it

Copy link
Member Author

Choose a reason for hiding this comment

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

@danny0405 do you have jira to track this work? i'd link it from the code as todo

Copy link
Contributor

Choose a reason for hiding this comment

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

@xushiyan xushiyan changed the title [HUDI-5626] Rename CDC logging mode options and fix flink's default [HUDI-5626] Rename CDC logging mode options Jan 27, 2023
@xushiyan xushiyan requested a review from danny0405 January 27, 2023 20:38
@apache apache deleted a comment from hudi-bot Jan 28, 2023
@nsivabalan nsivabalan added the priority:blocker Production down; release blocker label Jan 28, 2023
@nsivabalan nsivabalan force-pushed the minor-update-cdc-config branch from 846574a to 177e797 Compare January 28, 2023 06:22
@nsivabalan
Copy link
Contributor

rebased w/ lastest master

@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

@nsivabalan nsivabalan merged commit c21eca5 into apache:master Jan 28, 2023
yihua pushed a commit that referenced this pull request Jan 30, 2023
Change logging mode names for CDC feature to

- op_key_only
- data_before
- data_before_after
@xushiyan xushiyan deleted the minor-update-cdc-config branch January 30, 2023 08:17
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Jan 31, 2023
Change logging mode names for CDC feature to

- op_key_only
- data_before
- data_before_after
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
Change logging mode names for CDC feature to

- op_key_only
- data_before
- data_before_after
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:blocker Production down; release blocker

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants