Join Slack
Powered by
Is there any way i can change the schema name when...
# ingestion
d
damp-ambulance-34232
11/05/2021, 2:18 AM
Is there any way i can change the schema name when ingestion a dataset to datahub like public.datahub to new_name.datahub
b
better-orange-49102
11/05/2021, 3:59 AM
Not without modifying the current ingest code.
g
green-football-43791
11/05/2021, 5:27 AM
you could also write a custom transformer to change the name:
https://datahubproject.io/docs/metadata-ingestion/transformers/
plus1
1
b
better-orange-49102
11/05/2021, 6:51 AM
But isn't schema part of the dataset key at the point of creation?
plus1
1
g
green-football-43791
11/05/2021, 3:16 PM
The transformer has access to the entire dataset snapshot, so it can change the dataset key as well
Open in Slack
Previous
Next