Obtain table connection settings programmatically
UserBird
Dataiker, Alpha Tester Posts: 535 Dataiker
Hi, I am working with Dataiku datasets
main_input_name in Python recipe gives me the name of the input table in the following format:
schema.dataset_name
where schema is the database name
However, I found out that the schema name of the dataset is different from the schema name of the table name to which the dataset points.
e.g. The schema name for the dataset is automatically set to the project name by Dataiku DSS
When I view the dataset settings, under Connection Settings, it shows the schema name as the proper database name.
Is there a way to obtain data from connection settings for a dataset?
Thanks.
main_input_name in Python recipe gives me the name of the input table in the following format:
schema.dataset_name
where schema is the database name
However, I found out that the schema name of the dataset is different from the schema name of the table name to which the dataset points.
e.g. The schema name for the dataset is automatically set to the project name by Dataiku DSS
When I view the dataset settings, under Connection Settings, it shows the schema name as the proper database name.
Is there a way to obtain data from connection settings for a dataset?
Thanks.