Skip to content

Comments

[WIP][MINOR] Add OperationField's enable to table config#5651

Closed
XuQianJin-Stars wants to merge 3 commits intoapache:masterfrom
XuQianJin-Stars:operation_table_config
Closed

[WIP][MINOR] Add OperationField's enable to table config#5651
XuQianJin-Stars wants to merge 3 commits intoapache:masterfrom
XuQianJin-Stars:operation_table_config

Conversation

@XuQianJin-Stars
Copy link
Contributor

Tips

What is the purpose of the pull request

(For example: This pull request adds quick-start document.)

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.

@XuQianJin-Stars XuQianJin-Stars changed the title [MINOR] add OperationField's enable to table config [MINOR] Add OperationField's enable to table config May 21, 2022
@XuQianJin-Stars XuQianJin-Stars changed the title [MINOR] Add OperationField's enable to table config [WIP][MINOR] Add OperationField's enable to table config May 21, 2022
@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

@xushiyan xushiyan self-assigned this May 26, 2022
@xushiyan xushiyan added priority:high Significant impact; potential bugs configs labels May 26, 2022
public static final ConfigProperty<Boolean> ALLOW_OPERATION_METADATA_FIELD = ConfigProperty
.key("hoodie.allow.operation.metadata.field")
.defaultValue(false)
.sinceVersion("0.11.1")
Copy link
Member

Choose a reason for hiding this comment

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

to users, this config has been there since 0.9.0, as the key did not change

Comment on lines -459 to -464
public static final ConfigProperty<Boolean> ALLOW_OPERATION_METADATA_FIELD = ConfigProperty
.key("hoodie.allow.operation.metadata.field")
.defaultValue(false)
.sinceVersion("0.9.0")
.withDocumentation("Whether to include '_hoodie_operation' in the metadata fields. "
+ "Once enabled, all the changes of a record are persisted to the delta log directly without merge");
Copy link
Member

Choose a reason for hiding this comment

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

@XuQianJin-Stars can you help me understand the main problem of the config staying in write config? Also, for user-facing config change, can we please file jira for tracking?

@xushiyan xushiyan added the status:triaged Issue has been reviewed and categorized label May 26, 2022
@nsivabalan
Copy link
Contributor

@XuQianJin-Stars : can you follow up on the patch when you get a chance.

@xushiyan xushiyan added the status:in-progress Work in progress label Oct 31, 2022
@XuQianJin-Stars
Copy link
Contributor Author

@XuQianJin-Stars : can you follow up on the patch when you get a chance.

closed, replace it #7598

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 status:in-progress Work in progress status:triaged Issue has been reviewed and categorized

Projects

Status: 🚧 Needs Repro
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants