New to Dataiku DSS? Try out our NEW Quick Start Programs today and get onboarded on the product in just one hour! Let's go

Dataiku API - Import Hive Tables

Pavan
Level 2
Dataiku API - Import Hive Tables

Hi,

 

I'm following the attached link to import hive tables via API and find an error when running the execute statement.

https://doc.dataiku.com/dss/latest/python-api/tables-import.html#dataikuapi.dss.project.TablesPrepar...

The error is 

DataikuException: java.lang.IllegalArgumentException: Connection name not specified

 I have configured Hive already and made sure the connection is successful by running an import of dataset from UI. 

 

0 Kudos
1 Reply
ManhulayS
Dataiker
Dataiker

Hi @Pavan,

Thanks for your feedback.

I've run some tests on python API in DSS 8.0.3 and encountered the same error as you did, being unable to import hive table as dataset. This error is now reported for further investigation.

In the meantime, as a workaround, you could use the equivalent on public REST API https://doc.dataiku.com/dss/api/8.0/rest/#datasets-import-tables-post-1 

0 Kudos
A banner prompting to get Dataiku DSS