Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for _ for key generation #689

Closed
yruslan opened this issue Jun 26, 2024 · 0 comments · Fixed by #692
Closed

Add support for _ for key generation #689

yruslan opened this issue Jun 26, 2024 · 0 comments · Fixed by #692
Labels
enhancement New feature or request

Comments

@yruslan
Copy link
Collaborator

yruslan commented Jun 26, 2024

Background

When data has multiple levels of hierarchy and Cobrix is used to generate corresponding keys, sometimes the list of segments can be long for the leaf level of the hierarchy:

.option("segment_id_level0", "SEG001")
.option("segment_id_level1", "SEG002,SEG003")
.option("segment_id_level2", "SEG004,SEG005,SEG006,SEG007,SEG008,SEG009")

Feature

Add support for * and _ for key generation.

Proposed Solution

It could be nice to add _ meaning "the rest of segments.

Example

.option("segment_id_level0", "SEG001")
.option("segment_id_level1", "SEG002,SEG003")
.option("segment_id_level2", "_")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant