<@U06TM7M40RK> i want to default a Link to my table when ingesting it. is there a transformer that does that?
To add a default link to a table during ingestion in DataHub, you can use a transformer. However, based on the available data sources, there isn’t a specific out-of-the-box transformer that directly adds links to tables. You would likely need to create a custom transformer to achieve this.
According to the <https://datahubproject.io/docs/metadata-ingestion/docs/transformer/intro|DataHub documentation on transformers>, transformers allow you to modify metadata before it reaches the ingestion sink. You can write your own module to transform metadata events, which would include adding custom properties like links.
Here’s a general approach to creating a custom transformer for adding links:
-
Create a Custom Transformer: You need to define a custom transformer that adds a link to the metadata of the table.
-
Implement the Transformer Logic: In your transformer, you can modify the metadata to include the desired link.
-
Integrate the Transformer in Your Ingestion Recipe: Use the custom transformer in your ingestion recipe to apply it during the ingestion process.
If you need more detailed steps or a code example on how to implement this, please let me know!
Sources:
- https://datahubspace.slack.com/archives/CV2KB471C/p1720701575.542589|https://datahubspace.slack.com/archives/CV2KB471C/p1720701575.542589
- https://forum.datahubproject.io/t/adding-links-to-sql-web-interface-for-seamless-data-exploration/252|https://forum.datahubproject.io/t/adding-links-to-sql-web-interface-for-seamless-data-exploration/252
0 button
0 button
Hint: Mention @runllm in the thread for followups.
Hi <@U078L9B372P>, how did my answer work out for you? Need any more assistance? You can also tag <@U07FV3UHE4D> to let your fellow community members know you’re still looking for guidance.
Hi ! Did this interaction resolve your issue or do you still require assistance ?
Please tag @ RunLLM if you still need further assistance !
Or tag @Datahub Community Support if you require a person to take a look
Hope this helps ! ><