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

feat(ingest): Added support for "add dataset ownership by regex match" #2990

Merged
merged 6 commits into from
Aug 10, 2021

Conversation

rahulbsw
Copy link
Contributor

@rahulbsw rahulbsw commented Jul 29, 2021

Added support for "add dataset ownership by regex match"

transformers:
  - type: "pattern_add_dataset_ownership"
    config:
      owner_pattern:
        rules:
          ".*example1.*": ["urn:li:corpuser:username1"]
          ".*example2.*": ["urn:li:corpuser:username2"]

Checklist

Rahul Jain added 6 commits July 29, 2021 02:18
```yaml
transformers:
  - type: "pattern_add_dataset_ownership"
    config:
      owner_pattern:
        rules:
          ".*example1.*": "urn:li:corpuser:username1"
          ".*example2.*": "urn:li:corpuser:username2"
``````yaml
   transformers:
     - type: "pattern_add_dataset_ownership"
       config:
         owner_pattern:
           rules:
             ".*example1.*": "urn:li:corpuser:username1"
             ".*example2.*": "urn:li:corpuser:username2"
   ```
Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shirshanka shirshanka merged commit 0e0198f into datahub-project:master Aug 10, 2021
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 this pull request may close these issues.

2 participants