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

Patterned model mappings #2429

Open
ivakegg opened this issue Jun 20, 2024 · 0 comments · May be fixed by NationalSecurityAgency/datawave-metadata-utils#39
Open

Patterned model mappings #2429

ivakegg opened this issue Jun 20, 2024 · 0 comments · May be fixed by NationalSecurityAgency/datawave-metadata-utils#39
Assignees

Comments

@ivakegg
Copy link
Collaborator

ivakegg commented Jun 20, 2024

We are looking for the ability to specify a pattern for a forward mapping. So for example lets say today that FIELD1 -> FIELD2_A and FIELD2_B today, we have to add both of those forward mappings to the model. We would like to instead say that FIELD1 -> FIELD2_.* in the model. It would be stored as such in the DatawaveMetadata table.

Then when we apply the model to a query, and the user specified FIELD1, then we would pull all of the fields in the system that match FEILD2_.* and apply those to the query.

@lbschanno lbschanno changed the title Patterened model mappings Patterned model mappings Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants