Shared Datasets in Dataiku

sj0071992
Shared Datasets in Dataiku

Hi,

 

How can I share datasets between projects and how can I change the setting of the dataset shared (if I want to change the reference of the project)

 

Thanks in Advance

0 Kudos
1 Reply
pvannies

Hi, 

you can share a dataset by clicking on it in the flow, and then in the right top corner click the 'share' icon. You can then choose the target projects from a drop-down menu.

 

share-iconshare-icon

You can also do it programmatically from the project where your original dataset is in.

 

import dataiku

client = dataiku.api_client()
project = client.get_default_project()
settings = project.get_settings()

settings.add_exposed_object('DATASET', 'your_Dataset_name', 'your_target_projectkey')
settings.save()

 

you can add extra target projects by the same code.

As far as I am aware, you can not change the reference settings from within the project the dataset is shared in, except from deleting it in the flow.

Hope this helps!