Skip to content

[HUDI-5171] Ensure validateTableConfig also checks for partition path field value switch#7163

Merged
nsivabalan merged 3 commits intoapache:masterfrom
jonvex:verify_tableconfig_partition_fields_writ
Nov 10, 2022
Merged

[HUDI-5171] Ensure validateTableConfig also checks for partition path field value switch#7163
nsivabalan merged 3 commits intoapache:masterfrom
jonvex:verify_tableconfig_partition_fields_writ

Conversation

@jonvex
Copy link
Contributor

@jonvex jonvex commented Nov 8, 2022

Change Logs

Partition path field is not supposed to change so now there is validation to make sure of that.

I moved validateTableConfig to after validateKeyGeneratorConfig because some tests were failing due to the wrong error message showing up.

Also had to modify a test that was violating this validation

Impact

Now throws exception instead of letting user do something wrong.

Risk level (write none, low medium or high below)

low

Documentation Update

None needed

Contributor's checklist

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

@hudi-bot
Copy link
Collaborator

hudi-bot commented Nov 9, 2022

CI report:

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

@nsivabalan nsivabalan merged commit 0b7a665 into apache:master Nov 10, 2022
satishkotha pushed a commit to satishkotha/incubator-hudi that referenced this pull request Dec 12, 2022
… field value switch (apache#7163)


Co-authored-by: Jonathan Vexler <=>
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
… field value switch (apache#7163)


Co-authored-by: Jonathan Vexler <=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants