-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: re-allow empty
pk.fields
for some pk.mode
Recently added validations (see PR #335) are preventing the support of schema evolution use-cases, e.g. Documentation: ``` If 'pk.mode' is 'record_key' and 'pk.fields' is empty, then all fields from the key struct will be used. ``` Configuration: ``` "pk.mode": "record_key", "auto.create": "true", "auto.evolve": "true", ``` Validation rule: ``` Primary key fields must be set when pkMode is 'record_key'. ``` The purpose of this PR is to re-enable this feature for both `record_key` and `record_value` modes.
- Loading branch information
Showing
3 changed files
with
5 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters