-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added Partition support to generate multiple YAML config files (#…
…653) (Issue #619,#662) Features: 1. New command 'generate-table-partitions' added to generate partitions for `row` type validation 2. --partition-num: Number of partitions/config files to create. Range=[1,1000] If specified value is greater than count(*), value if coalesced to count(*) 3. --config-dir: Directory Path to store YAML Config Files. Either local or GCS path can be supplied 5. Added required arguments group to distinguish from optional arguments 6. Added mutually exclusive arguments group for --hash and --concat 7. --partition-key: Column on which the partitions would be generated. Column type must be integer. Defaults to Primary key Tests: Added unit tests for partition_builder.py, provides coverage for partition_row_builder.py README.md & examples.md: 1. Added description for usage of 'generate-table-partitions' command 2. Added examples
- Loading branch information
Showing
9 changed files
with
1,124 additions
and
16 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
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
Oops, something went wrong.