Adding Owners to Imported Datasets and Error Resolution

Original Slack Thread

Hi All,
I am trying to add owners to Datasets that I already imported.
I updated my recipe with below provided transformation.

  - type: "pattern_add_dataset_ownership"
    config:
      semantics: OVERWRITE
      owner_pattern:
        rules:
          "*table_name1*": ["urn:li:corpuser:DataEngineer"]
          "*table_name2*": ["urn:li:corpuser:Analytics"]
      ownership_type: "DATAOWNER"```
But when I run my recipe it fails with error shown in screenshot
Any help is much appreciated.
Thanks!![attachment](https://files.slack.com/files-pri/TUMKD5EGJ-F05TKKGB7K7/image.png?t=xoxe-973659184562-6705490291811-6708051934148-dd1595bd5f63266bc09e6166373c7a3c)

Hi Kaushik! It looks like some other folks have been able to resolve this by updating sink.max_threads:1 Take a look at this thread: https://datahubspace.slack.com/archives/CUMUWQU66/p1682332234663259